public void LoadContents() { using (EmployeeJournal objEmployeeJournal = new EmployeeJournal()) { //objEmployeeJournal.EmployeeJournalCode = EmployeeJournal.GetLastJournalCode(Convert.ToInt16(WeekYear.GetActiveWeekCode()), Request.Cookies["Speedo"]["UserName"].ToString()); objEmployeeJournal.EmployeeJournalCode = Convert.ToInt16(Request.QueryString["JournalCode"]); objEmployeeJournal.Fill2(); ckeContents.Text = objEmployeeJournal.Contents; } }
public void LoadContent() { using (EmployeeJournal objEmployeeJournal = new EmployeeJournal()) { //objEmployeeJournal.EmployeeJournalCode = EmployeeJournal.GetLastJournalCode(Convert.ToInt16(WeekYear.GetActiveWeekCode()), Request.Cookies["Speedo"]["UserName"].ToString()); objEmployeeJournal.EmployeeJournalCode = Convert.ToInt16(Request.QueryString["JournalCode"]); objEmployeeJournal.Fill2(); litContent.Text = objEmployeeJournal.Contents; lblSubmittedDetails.Text = objEmployeeJournal.ModifiedBy + " " + "(" + objEmployeeJournal.ModifiedOn + ")"; //litContent.Text += "<font style='font-size:14px;'>" + objEmployeeJournal.Contents + "</font>"; } }
public void LoadContent() { using (EmployeeJournal objEmployeeJournal = new EmployeeJournal()) { objEmployeeJournal.EmployeeJournalCode = Convert.ToInt16(Request.QueryString["JournalCode"]); objEmployeeJournal.Fill2(); //lblSubmittedDetails.Text = "<br />Submitted By: " + objEmployeeJournal.ModifiedBy + "<br />" + "Submitted On: " + objEmployeeJournal.ModifiedOn; lblSubmittedDetails.Text = objEmployeeJournal.ModifiedBy + " " + "(" + objEmployeeJournal.ModifiedOn + ")"; //litContent.Text += "<font style='font-size:14px;'>" + objEmployeeJournal.Contents + "</font>"; litContent.Text = objEmployeeJournal.Contents; } }