示例#1
0
 public void FillGridCompany()
 {
     try
     {
         DataTable Dt = new DataTable();
         //   Dt = COMPANYLogicLayer.GetAllCOMPANYDetials();
         GridCompany.DataSource = Dt;
         GridCompany.DataBind();
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#2
0
 public void FillGridCompany()
 {
     try
     {
         DataTable Dt = new DataTable();
         Dt = COMPANYLogicLayer.GetAllCOMPANYDetials(Convert.ToInt32(Session["USERCODE"].ToString()), Convert.ToInt32(Session["COMP_CODE"].ToString()));
         GridCompany.DataSource = Dt;
         GridCompany.DataBind();
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#3
0
 private void GetCompanyOfSelectedUser()
 {
     try
     {
         DataTable Dt           = new DataTable();
         string    selectedUser = DdlUser.SelectedValue;
         Dt = COMPANYLogicLayer.GetCompanyDetailUserWiseRights(selectedUser);
         GridCompany.DataSource = Dt;
         GridCompany.DataBind();
     }
     catch (Exception)
     {
         throw;
     }
 }