how to check for a particular record whether it is present or not in dataset if the record is not present i want to display a message as no records what is the code for checking
Total Answers and Comments: 7
Last Update: March 15, 2007 Asked by: subrahmanyam
RE: how to check for a particular record whether it is...
You can use following methoda) take a reference to the defaultview of the required table in dataset.b) initialize RowFilter ColumnName value ( you can you multiple column condtions seperated by ' And ' keywordc) check the Count property of viewd) if ( view.Count > 0 ) the record exists )