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
Making a chart see a #DIV/0! error as an empty cell
Is it possible to enlarge old DOS applications running on Windows XP for easier viewing?
Add a file extension
TAPI in VB.NET
Prevent User from writing in textbox
Setting the "Order by" Order
Excel automation: unload XLL so Excel can quit
Converting ANSI-89 to ANSI-92 T-SQL queries
Why can't I write files to the root of my C drive?
Can't get RD Web Connection to work through WatchGuard Firewall