Пример #1
0
 private void LoadData(string ID)
 {
     DayLog code = new OAManager.DayLogManager().GetItemById(new Guid(ID));
     txtID.Value = code.ID.ToString();
     txtContent.Value = code.Content;
     hidWordDate.Value = code.WordDate.ToString("yyyy/MM/dd");
     txtUserID.Value = code.UserID.ToString();
     txtCreateDate.Value = code.CreateDate.ToString("yyyy/MM/dd"); ;
     txtUserName.Value = code.UserName;
     txtGS.Value = code.GS;
 }
Пример #2
0
        private void LoadData(string ID)
        {
            DayLog code = new OAManager.DayLogManager().GetItemById(new Guid(ID));

            txtID.Value         = code.ID.ToString();
            txtContent.Value    = code.Content;
            hidWordDate.Value   = code.WordDate.ToString("yyyy/MM/dd");
            txtUserID.Value     = code.UserID.ToString();
            txtCreateDate.Value = code.CreateDate.ToString("yyyy/MM/dd");;
            txtUserName.Value   = code.UserName;
            txtGS.Value         = code.GS;
        }