A
Arjen
Hello,
How can I check the recordcount?
Here is a little bit of my code:
// Load first row into Datareader
dr.Read();
if (dr["Category"].ToString() == "xmlsrc") {
When I do this I get an error because there is no data... it only have to
check this dr["Category"].ToString() == "xmlsrc") if there is data.
How can I do that?
Thanks!
How can I check the recordcount?
Here is a little bit of my code:
// Load first row into Datareader
dr.Read();
if (dr["Category"].ToString() == "xmlsrc") {
When I do this I get an error because there is no data... it only have to
check this dr["Category"].ToString() == "xmlsrc") if there is data.
How can I do that?
Thanks!