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
which is the best editor for oracle ?
Problems moving L2L IPSec VPN from Cisco PIX to Cisco ASA 5520, connecting from Cisco 877
Looking for Video Recording Software for Samsung Cameras
Date Formula deducting today's date from date field
'System.Xml.Linq' doesn't contain any public member
SSIS Case Statement not executing
Uplink fast set on a distribution layer switch
sum by date and variable (horizontal)
How to register nameserver
How to alter web page so Google Chrome will clear old data?