Monday 15 August 2011

c# - Get a collection of all the DataRows coresponding to selected DataGridView rows -


Is there a direct way to do this, or do I need to select it on DataGridView? Selected, and then access the Data Grid Viewer. DataBoundItem one to make each line?

DataGridView does not provide a SelectedDataRows and SelectedRows is Linq-enabled, yes, you write a forhash loop Will happen.


No comments:

Post a Comment