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
How to configure Remote SPAN or alternative option on HP Procurve 2626-PWR switch ?
adding a mac to sbs 2003 network
Jumbo frame configuration is saved where?
are there any inherent issues introducing a server 2008 system into a predominantly 2003 network?
How to change HEX value to EBCDIC char
Sql Subquires
Variable not defined error using VBA ExportAsFixedFormat Type:=xlTypePDF in excel 2003
Upgrading BB firmware of VIP user :(
FTP not working on Windows Server 2008 IIS 7
check if record is already locked