public void getAllData() { // ConnectBettwenModelInterface(); icontry.datagridview = CountyService.getAllData(); //icontry.datagridview = //ClearFildes(); // return CountyService.getAllData(); }
public void AutoNumber() { // ConnectBettwenModelInterface(); icontry.ID = CountyService.getAllData().Rows.Count + 1; icontry.CountyName = ""; }