예제 #1
0
파일: LogData.aspx.cs 프로젝트: aj-hc/SY
 protected void Page_Load(object sender, EventArgs e)
 {
     Response.ContentType = "text/plain";
     string username = Common.CookieHelper.GetCookieValue("username");
     RuRo.Model.BasedInfo baseinfo = new Model.BasedInfo();
     RuRo.Model.ClinicalInfo clincicalinfo = new Model.ClinicalInfo();
     RuRo.Model.TB_SAMPLE_LOG log = new Model.TB_SAMPLE_LOG();
 }
예제 #2
0
 /// <summary>
 /// 添加数据到ClinicalInfo表,记录
 /// </summary>
 /// <param name="ds"></param>
 public void InsertClinicalInfo(Dictionary<string, string> dic)
 {
     DAL.ClinicalInfo dal = new DAL.ClinicalInfo();
     Model.ClinicalInfo model = new Model.ClinicalInfo();
     if (dic.Count > 0)
     {
         //model.DiagnoseTypeFlag = ds.Tables[0].Rows[0]["DiagnoseTypeFlag"].ToString();
         //model.DiagnoseDateTime = Convert.ToDateTime(ds.Tables[0].Rows[0]["DiagnoseDateTime"]);
         //model.RegisterID = int.Parse(ds.Tables[0].Rows[0]["RegisterID"].ToString());
         //model.InPatientID = int.Parse(ds.Tables[0].Rows[0]["InPatientID"].ToString());
         //model.ICDCode = ds.Tables[0].Rows[0]["ICDCode"].ToString();
         //model.DiseaseName = ds.Tables[0].Rows[0]["DiseaseName"].ToString();
         //model.Description = ds.Tables[0].Rows[0]["Description"].ToString();
         //model.type = ds.Tables[0].Rows[0]["type"].ToString();
         //dal.Add(model);
     }
     else
     {
         //dal.Add(model); 数据为空暂不添加
     }
 }