Exemplo n.º 1
0
 private void loadGrid()
 {
     try
     {
         DataTable mm = new DataTable();
         dgvCategory.DataSource = mMasterBLL.selectDataTable("LMS_Category", "");
         mUtility.setDataGridColumn(ref dgvCategory);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Exemplo n.º 2
0
 private void loadGrid()
 {
     try
     {
         DataTable mm = new DataTable();
         dgvRent.DataSource = mMasterBLL.selectDataTable("LMS_Tra_Rent_Header", "");
         mUtility.setDataGridColumn(ref dgvRent);
         //dgvRent.Columns[17].Visible = false;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Exemplo n.º 3
0
 private void loadGrid()
 {
     try
     {
         DataTable mm = new DataTable();
         //dgvBrand.DataSource = mMasterBLL.selectDataTable("Agent", "");
         dgvBrand.DataSource = mMasterBLL.selectDataTable("POS_Brand", "");
         mUtility.setDataGridColumn(ref dgvBrand);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Exemplo n.º 4
0
 private void loadGrid()
 {
     try
     {
         DataTable mm = new DataTable();
         dgvLibrary.DataSource = mMasterBLL.selectDataTable("LMS_Book", "");
         mUtility.setDataGridColumn(ref dgvLibrary);
         dgvLibrary.Columns[17].Visible = false;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Exemplo n.º 5
0
 private void loadGrid()
 {
     try
     {
         DataTable mm = new DataTable();
         dgvLibrary.DataSource = mMasterBLL.selectDataTable("LMS_Library", "");
         mUtility.setDataGridColumn(ref dgvLibrary);
         mUtility.setDataGridColumn(ref dgvLibrary);
         dgvLibrary.Columns[19].Visible = false;
         //Dictionary<string, string> dic = new Dictionary<string, string>();
         //dic.Add("@UserID", ApplicationMember.mLoginID);
         //DataTable tbl = mMasterBLL.executeSelectProcedure("CS_SP_SELECT_USER_MENU", dic);
         //mUtility.loadMenu(ref ribbon, ref tcHR, tbl);
         //mUtility.loadHome(ref tcHR);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Exemplo n.º 6
0
 private void loadMember()
 {
     cboMember.DisplayMember = "Member Code";
     cboMember.ValueMember   = "ASK";
     cboMember.DataSource    = mMasterBLL.selectDataTable("LMS_Member", "");
 }
Exemplo n.º 7
0
 private void loadBrandRegion()
 {
     cboBrandRegion.DisplayMember = "Brand Region Name";
     cboBrandRegion.ValueMember   = "ASK";
     cboBrandRegion.DataSource    = mMasterBLL.selectDataTable("POS_Brand_Region", "");
 }
Exemplo n.º 8
0
 private void loadLibrary()
 {
     cboLibrary.DisplayMember = "Code";
     cboLibrary.ValueMember   = "ASK";
     cboLibrary.DataSource    = mMasterBLL.selectDataTable("LMS_Library", "");
 }