I am playing with DataGrid View Control provided by .NET. So far I have a (i) seem unable to bind a list to a DataColumn. Is it possible and how should I go around doing this?
I think this link will answer your question:
If you Directly list & lt; String & gt; If you bind to the DatagridView, then you will get the length of the string in the column because it is the only property on each string to list. You have to set some where the string itself will be available as a property. Then DatagridView.data will be an example of a class that will be set for property that hide the IList & lt;> and Datagridveiw.Datamember.
No comments:
Post a Comment