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
Crystal Reports Xi - Sorting a CrossTab Report by a Summary Field
Multiple Stored Procedures in a single transaction
Could Linkserver provide me DB schema?
Opera Version 10.60 page cache(!?) problem
Construct and Launch URL
Deploy application using GPO win 2008 R2
Symantec Endpoint Protection - SID 23615 HTTPS Tidserv Request 2 Detected
Server 2008 NLB problem
net share system error 5 acces denied
How to use Outlook VBA to select messages in an Outlook folder and run VBA macro