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
Importing a simple spreadsheet into access
HP Proliant DL360
Workstation Primary Group ID set as Domain Controller
Reading data off Raid 0
SBS 2008 Server running extreamly slow
Event code: 3005 - An unhandled exception has occurred with custom ASP.Net app
Whats wrong with my css?
how to enable java in ipad sfari
Wireless LAN , Larger Scale
Windows Service crashing on one machine, not on the other