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
VBScript Replace Function & the £ symbol?
horse racing racecards data feed
Remote Desktop Services Manager snap-in hangs
Loosing current view settings on inbox after upgrading to Outlook 2007
How to setup network
USB meters
Just installed AJAX Toolkit - ToolkitScriptManager error -- "unknown server tag"
Outlook 2003 POP3 account continues to download duplicate messages
DameWare vs. RDP
Mac Mail + Exchange 2007 keeping drafts in the 'Drafts' folder after they are sent