How do I populate specific columns of a datagrid view from as list object
Posted on 2010-08-30
I know how to populate a datagridiew via a list object by setting its datasource to the list object as in
mydatagridview.datasource = mylist
However, I've now created a datagridview by adding the following columns at design time. The name and Description columns are populated by the listobject. I want to allow the user to be able to enter data in the Sheet ID and to view details via the view details button located in the ViewDetails column of the datagridview.
1. I'm not sure how to assign the name and description returned by list object to the correct column and how to permit the user to be able to make changes in a specific column of a datagrid view