protected void MakeCart() { DataTable tblCart = new DataTable("Cart"); tblCart.Columns.Add("JournalDCode", System.Type.GetType("System.String")); tblCart.Columns.Add("JournalCode", System.Type.GetType("System.String")); tblCart.Columns.Add("ItemNumber", System.Type.GetType("System.String")); tblCart.Columns.Add("Contents", System.Type.GetType("System.String")); tblCart = EmployeeJournalDetails.GetDSGCart(EmployeeJournal.GetLastJournalCode(Convert.ToInt16(WeekYear.GetActiveWeekCode()), Request.Cookies["Speedo"]["UserName"].ToString())); ViewState["Cart"] = tblCart; LoadGrid(); }
protected void MakeCart() { DataTable tblCart = new DataTable("Cart"); tblCart.Columns.Add("JournalDCode", System.Type.GetType("System.String")); tblCart.Columns.Add("JournalCode", System.Type.GetType("System.String")); tblCart.Columns.Add("ItemNumber", System.Type.GetType("System.String")); tblCart.Columns.Add("Contents", System.Type.GetType("System.String")); tblCart = EmployeeJournalDetails.GetDSGCart(Convert.ToInt16(Request.QueryString["JournalCode"])); ViewState["Cart"] = tblCart; LoadGrid(); }