예제 #1
0
 private void FillData()
 {
     if (TableName == "Income")
     {
         dt_Income                       = LeadDL.GetIncome();
         DGVTrans.DataSource             = dt_Income;
         gridView1.Columns["Id"].Visible = false;
     }
     if (TableName == "ApartmentSize")
     {
         dt_ApaSize                      = LeadDL.GetApartmentsize();
         DGVTrans.DataSource             = dt_ApaSize;
         gridView1.Columns["Id"].Visible = false;
     }
     if (TableName == "CostPreference")
     {
         dt_CostPre                      = LeadDL.GetCostPreference();
         DGVTrans.DataSource             = dt_CostPre;
         gridView1.Columns["Id"].Visible = false;
     }
 }
예제 #2
0
파일: LeadBL.cs 프로젝트: SDivyaprabha/CRM1
 public static DataTable GetCostPref()
 {
     return(LeadDL.GetCostPreference());
 }