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
Transport-level error / (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
fruits without seeds
Cannot puTTY to Fedora 13
EIGRP Traffic limited to 50% by default?
Collect Windows 7 Product ID Scripr
DW & level of normalization
Excel VBA Bloomberg function
Hex to ASCII conversion in C#
Need a SUM
Creation of RAID device fails