Hello.. i have used QueryForObject.
-Mittal ---------- Original Message ---------------------------------- From: Wei Cheng <[EMAIL PROTECTED]> Reply-To: [email protected] Date: Thu, 23 Nov 2006 19:19:27 -0800 (PST) >If I have a SQL Server stored procedure, which takes >no parameter and has no returned query result except a >return value of integer type-the kind of stored >procedure we normally call with ExecuteNonQuery in >ADO.NET, what is the optimized way calling it and how >could I capture the returned value from the stored >procedure? Using QueryForObject? > >Thanks for the information. > > >Wei Cheng > > > > >____________________________________________________________________________________ >Do you Yahoo!? >Everyone is raving about the all-new Yahoo! Mail beta. >http://new.mail.yahoo.com >

