public void fillCityGridview() { CityBAL balCity = new CityBAL(); DataTable dt = new DataTable(); dt = balCity.SelectAll(); if (dt != null && dt.Rows.Count > 0) { gvCity.DataSource = dt; gvCity.DataBind(); } }
private void FillCityGridView() { CityBAL balCity = new CityBAL(); DataTable dtCity = new DataTable(); dtCity = balCity.SelectAll(); if (dtCity != null && dtCity.Rows.Count > 0) { gvCity.DataSource = dtCity; gvCity.DataBind(); } }