예제 #1
0
 public void MyBind()
 {
     if (Mid > 0)
     {
         M_OA_Borrow borMod = borBll.SelReturnModel(Mid);
         ids_Hid.Value     = borMod.DocIDS;
         ids_T.Text        = borMod.DocTitles;
         UserIDS_Hid.Value = borMod.Uids;
         UserIDS_T.Text    = borMod.UNames;
         EDate_T.Text      = borMod.EDate.ToString();
     }
     else
     {
         ids_Hid.Value = DocIDS;
         ids_T.Text    = oaBll.SelTitleByIDS(DocIDS);
         EDate_T.Text  = DateTime.Now.AddDays(7).ToString();
     }
 }