How to fill your gridview? public void gridfill() { DataTable dtbl = new DataTable(); productSp spProduct = new productSp(); dtbl = spProduct.productViewAll(); dgvProduct.DataSource = dtbl; } Add datas to datatable,then set datasource of grid to datatable.
A Blog For Passionate Dot net Developers