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
Server 2008R2 and XP Roaming Profiles
How to limit internet browsing using group policy
How can change the Read Only attribute of outlook.pst file burned on a DvD?
No displayed Features when upgrade to MS Server SQL 2008
Moving Navision 3.70 to new SQL Server installation
C# HTTP Request with redirect and authentification
User-Level Security
Web Service or WCF? Current system uses thumb drives.
Can i use XSD.exe or XSDObjectGen to generate a class library from a DTD? And if so which is best?
MS Excel 2007 Opens 2 Windows Every Time I Open File From Shortcut. How do I Fix?