Question

Locked

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

By anu.anu4u ·
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 conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Software Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums