Get retrived records count from OleDbDataReader in C#?
-
30-10-2019 - |
Question
I want to get the retrived records count from the OleDbDataReader
in C# ?
strQuery = "SELECT * FROM Table_Name" ;
dbCommand = new OleDbCommand(strQuery, dbConnection);
dbReader = dbCommand.ExecuteReader();
//Now how to get RowCount from the Table after this.
Any help is appreciated.
Thanks.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow