How can we bind each row in a datatable to a gridviews - TechRepublic
Question
December 7, 2008 at 03:41 AM
anu.anu4u

How can we bind each row in a datatable to a gridviews

by anu.anu4u . Updated 17 years, 7 months ago

Hai

Me with C# asp.net

How can we bind each row in a datatable to a gridviews instred like

gridView1.DataSource = dt;
gridView1.DataBind();

because in my webpage I want to show a grid view using a datatable which contains 20 columns, I want to show the first column then format the rest 19 rows in a manner and the last grid view row with a button

I would be thankful for any answer to bind each row to the grid view like we do in windows application data grid view

This discussion is locked

All Comments