Beispiel #1
0
 /// <summary>
 /// Function to fill all Routes in datagridview based on the search key
 /// </summary>
 public void GridFill()
 {
     try
     {
         RouteSP   spRoute = new RouteSP();
         DataTable dtbl    = new DataTable();
         dtbl = spRoute.RouteSearch(txtRouteNameSearch.Text.Trim(), cmbAreaSearch.Text.ToString());
         dgvRoute.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         MessageBox.Show("RT3" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Function to fill all Routes in datagridview based on the search key
 /// </summary>
 public void GridFill()
 {
     try
     {
         RouteSP   spRoute = new RouteSP();
         DataTable dtbl    = new DataTable();
         dtbl = spRoute.RouteSearch(txtRouteNameSearch.Text.Trim(), cmbAreaSearch.Text.ToString());
         dgvRoute.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "RT3" + ex.Message;
     }
 }
Beispiel #3
0
 /// <summary>
 /// Function to fill all Routes in datagridview based on the search key
 /// </summary>
 public void GridFill()
 {
     try
     {
         RouteSP spRoute = new RouteSP();
         DataTable dtbl = new DataTable();
         dtbl = spRoute.RouteSearch(txtRouteNameSearch.Text.Trim(), cmbAreaSearch.Text.ToString());
         dgvRoute.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         MessageBox.Show("RT3" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }