예제 #1
0
 public void FillFinYears()
 {
     try
     {
         DataTable Dt = new DataTable();
         //  string USERCODE = DdlUser.SelectedValue;
         string COMPANYCODE = DdlCompany.SelectedValue;
         Dt = COMPANYLogicLayer.GetAllFIN_YEARSDetialsForGrid(COMPANYCODE);
         GridYear.DataSource = Dt;
         GridYear.DataBind();
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #2
0
 private void GetFin_YearsByCompanyByUser()
 {
     try
     {
         DataTable Dt          = new DataTable();
         string    USERCODE    = DdlUser.SelectedValue;
         string    COMPANYCODE = DdlCompany.SelectedValue;
         string    BRANCHCODE  = DdlBranch.SelectedValue;
         Dt = COMPANYLogicLayer.GetFIN_YEARSDetailUserWiseRightsAndCompanyWiseForGrid(USERCODE, COMPANYCODE);
         GridYear.DataSource = Dt;
         GridYear.DataBind();
     }
     catch (Exception)
     {
         throw;
     }
 }