private void FillGridViewCity() { CitiesBAL balCity = new CitiesBAL(); DataTable dtCity = new DataTable(); dtCity = balCity.SelectAll(); if (dtCity != null && dtCity.Rows.Count > 0) { } }
private void FillGridViewCity() { CitiesBAL balCity = new CitiesBAL(); DataTable dtCity = new DataTable(); dtCity = balCity.SelectAll(); if (dtCity != null && dtCity.Rows.Count > 0) { gvCityList.DataSource = dtCity; gvCityList.DataBind(); } }