📄 biopsiesprostate.ascx.cs
字号:
namespace Caisis.UI.Modules.Prostate.Eforms
{
using System;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using Caisis.BusinessObject;
using Caisis.UI.Core.Classes;
using Caisis.UI.Modules.Prostate.PaperForms;
using Caisis.DataAccess;
/// <summary>
/// Summary description for MedicationsClinical.
/// </summary>
public class BiopsiesProstate : BaseEFormControl
{
override protected void Page_Load(object sender, System.EventArgs e)
{
base.Page_Load(sender, e);
BuildBiopsies(this._patientId, this._eformName, "Dynamic");
}
override protected void EFormRepeaterOnDataBound(Object Sender, RepeaterItemEventArgs e)
{
base.EFormRepeaterOnDataBound(Sender, e);
Literal ResultField;
ResultField = (Literal) e.Item.FindControl("ResultField");
if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
{
if ( ((DataRowView) e.Item.DataItem )["TableName"].ToString().Length > 0 && ((DataRowView) e.Item.DataItem )["TableName"].ToString().ToUpper().IndexOf("PROSTATE") > -1)
{
ResultField.Text = ((DataRowView) e.Item.DataItem )["BxResult2"].ToString();
}
else
{
ResultField.Text = ((DataRowView) e.Item.DataItem )["BxResult"].ToString();
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -