Microsoft
Software
Hardware
Network
Question : c# select command no return
hello
i use mysqlcommand and try simple select command
and my query is not any return..
so how can i handle this case ?
thanks
example :
select * from table where id = 1
and there isn't any row..
and i want to this
if (select no return)
{
do it
}
thanks and regards
Answer : c# select command no return
SqlDataReader reader = mysqlcommand.ExecuteReader
();
if (!reader.HasRows) {
// do it
}
else
Random Solutions
Shares unavailable
Hyperlink Pop UP
No output from an echo
UI Design - How to mockup .net application?
User has 6GB PST file (archive.pst), how do I break into smaller pieces?
Netbackup 654 : How to import a non netbackup tape and read data from it
Cisco ASDM 6.2 for ASA 5510
textmode password
Oracle Build Table of tables
INSERT INTO table with no Duplicates