P
Peter
How do I do Search in DataGridView and make the found row visible in UI?
Thanks
Peter
Thanks
Peter
Kevin Yu said:Hi Peter,
Do you mean that your DataGridView is binding to a DataSet and you need
to
find in the DataSet values?
If so, you can use DataTable.Select method to find the rows that meet your
criteria. Please check the following link for more information.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemdatadatatableclassselecttopic.asp
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Kevin Yu said:Hi Peter,
Are you using a DataView as the data source of the DataGridView? If so, we
cannot make it visible unless the row meets the criteria of the filter.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Kevin Yu said:Hi Peter,
Do you mean that before searching, the row is not visible. And after
searching, you need to make the row visible? If so, we can only make it
visible when the row meets the criteria of the DataView. If you need help
on how to make it meet the criteria, please provide the code you're using
to set the criteria.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."