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();
        }
    }
Пример #2
0
    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();
        }
    }