Microsoft
Software
Hardware
Network
Question : easy for experts.
I have a sp that at the end I have this code
updated is bit and returnMessage is varchar
select @updated as updated, @returnMessage as message
but then on cs code I am using Execute Reader and using while loop to get the value of the updated and the message but gives me error saying {updated}
I say like this on while loop after executing reader
if (bool.Parse(reader["update
d"].ToStri
ng()) == false) -->> Catches error here.
...blah blah...
what am I doing wrong..?
I am trying to find the value of the updated and the of course message.
Answer : easy for experts.
also, you can skip the first two by
dataReader.NextResult()
dataReader.NextResult()
Random Solutions
Error: "The action cannot be carried out while processing a form event."
Backup SQL2008 with a script from task scheduller
WSUS Scheduled Install Time for systems in different time zones
Dos script to control services
Strip special character function for SQL statement
Assistance with Windows Forms and calendar control embedded inside a grid
Connect to an XP PC with Windows 7
Excel - Copy all Tab data to one master tab automatically
DateTime Group By question
how to round $elling price to nearest fifty cents