Question Locked

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

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

1 reply

This discussion is closed to new replies.