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
Can't reach <a rel="nofollow" href="http://localhost" target="_blank">http://localhost</a>
SQL - Filter Dates from Two Different Tables
Terminal Services Installation Fails on Windows Server 2008
Page numbering to start from 3rd page.
Generate a Graph/Chart from a Crosstab Query - Can it be done dynamically?
My SQL Command not working
Task '
[email protected]
Sending and Receiving' reported error (0x80040102) : 'The requested operation cannot be performed on this account'
Excel Numbers imported as dates into memo field
Call function in outlook
Webservice integration into client application.