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
Group Policy settings for BitLocker startup options are in conflict
Toshiba Portege M700 BIOS password
run excel and run the enable auto refresh
Cloud Computing
SSIS Data extract from oracle to sql server
ASA 5505 DMZ won't Access Internet
Trying to connect to the server using Microsoft SQL Server Management Studio
Crystal Reports cutting off data
Bad Request error
Activesync through UAG