|
|
[No Title]
This archived discussion is "read only".
» mutant2000 - DataGrid sort and select row I have 3 Columns that contain the following:Column1 - unique data Sometimes Column2 can be emtpy. For e.g. if i have item=1, description="", totalcount="3" and row=10, if i click the column header2 for sorting, how will i be able to get the key value using find in the dataview? Below is my code that works only if column2 contains data. int index = -1; dataview.Sort = dataViewSource.Sort + ", " + column1; index = dataview.Find( myobject ); -- posted by mutant2000
Please follow the guidelines set forth in the Suite101 Posting Etiquette when adding to the discussion. |
|
|
|
|
|
|
|