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

