예제 #1
0
 /// <summary>
 /// grid fill function
 /// </summary>
 public void GridFill()
 {
     try
     {
         UnitBll          bllUnit = new UnitBll();
         List <DataTable> ListObj = new List <DataTable>();
         ListObj = bllUnit.UnitSearch(txtUnitSearch.Text.Trim());
         dgvUnitSearch.DataSource = ListObj[0];
     }
     catch (Exception ex)
     {
         MessageBox.Show("U1:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }