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; }
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; }