Exemplo n.º 1
0
 /// <summary>
 /// Function to fill Datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         PayHeadSP spPayhead   = new PayHeadSP();
         DataTable dtblPayhead = new DataTable();
         dtblPayhead           = spPayhead.PayHeadSearch(txtPayheadSearch.Text.Trim());
         dgvPayhead.DataSource = dtblPayhead;
     }
     catch (Exception ex)
     {
         MessageBox.Show("PH4:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Function to fill Datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         PayHeadSP spPayhead   = new PayHeadSP();
         DataTable dtblPayhead = new DataTable();
         dtblPayhead           = spPayhead.PayHeadSearch(txtPayheadSearch.Text.Trim());
         dgvPayhead.DataSource = dtblPayhead;
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "PH4:" + ex.Message;
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Function to fill Datagridview
 /// </summary>
 public void GridFill()
 {
     try
     {
         PayHeadSP spPayhead = new PayHeadSP();
         DataTable dtblPayhead = new DataTable();
         dtblPayhead = spPayhead.PayHeadSearch(txtPayheadSearch.Text.Trim());
         dgvPayhead.DataSource = dtblPayhead;
     }
     catch (Exception ex)
     {
         MessageBox.Show("PH4:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }