Esempio n. 1
0
        /* Version */

        public void FillVersionInfoGrid()
        {
            DataTable dt = CustomerServiceBL.CustomerDetails.Ins.GetCustomerVersionInfoDetailsBySearch(CustomerKey.ToString(), "");

            if (dt.Rows.Count > 0)
            {
                Session["VersionInfoGrid"]           = dt;
                VersionInfoSearchGridView.DataSource = dt;
                VersionInfoSearchGridView.DataBind();
            }
            //}
        }
Esempio n. 2
0
        public void FillVersionInfoGrid()
        {
            string VersionNumber = VersionNumberTextbox.Text;
            string id            = "";

            if (CustomerComboBox.SelectedItem != null && CustomerComboBox.SelectedItem.Value.ToString() != "0")
            {
                id = CustomerComboBox.SelectedItem.Value.ToString();
            }
            DataTable dt = CustomerServiceBL.CustomerDetails.Ins.GetCustomerVersionInfoDetailsBySearch(id, VersionNumber);

            Session["VersionInfoGrid"]           = dt;
            VersionInfoSearchGridView.DataSource = dt;
            VersionInfoSearchGridView.DataBind();
        }
Esempio n. 3
0
 private void FillVersionInfoGridfromSession()
 {
     try
     {
         DataTable VersionInfoDetailsDatatable = new DataTable();
         if (Session["VersionInfoGrid"] != "" && Session["VersionInfoGrid"] != null)
         {
             VersionInfoDetailsDatatable = (DataTable)Session["VersionInfoGrid"];
         }
         if (VersionInfoDetailsDatatable.Rows.Count > 0)
         {
             VersionInfoSearchGridView.DataSource = VersionInfoDetailsDatatable;
             VersionInfoSearchGridView.DataBind();
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
     finally
     {
     }
 }