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
Using "Select * INTO" and original table field captions carryover.
How o get most recent record from history?
How to Remove Roaming Profile in SBS 2003
SBS 2003 hangs will setting up personalized settings for Internet Explorer after IE7 upgrade
how to change multiple check box in query
Any SQL to LINQ converters out there?
How to have setup.exe install a file into sytems32\drivers?
Select Missing Rows From Table (Determination Made Based on Multiple Columns)
Locked by Admin
Display Image in title