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
SBS 2k3 unable to relay mails
Perl, Using Text::CSV_XS / Count number of references
DNS Event ID's 4010 & 4013
New ESXi install fails (PSOD)
Virtual to Physical using WinImage:V2P
Windows 7 - Windows could not be activated
find textbox and start div underneath it
MySQL data need to "replace" CRLF
How do i do PXE Boot using windows 2008 server and Deployment Workbench
JComboBox action commands