5
Answers

Binding Columns in DatagridView C#

adrian Wonder

adrian Wonder

15y
5.2k
1
My problem is in my webpage i have a datagridview and i would like to populate it with data from my sql Db. my way was to link the Datagridview with a table from my Dataset, also as long as i have Data fields linking to the correct columns from table mentioned in my markup page(). it all works. i did not like the way how i bounded the columns to the datagridview columns. could somebody please suggest a better way? using pure c# code only and not have to do anything with the markup page. Thanks for your time Adrian
Answers (5)