By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,957 Members | 2,143 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,957 IT Pros & Developers. It's quick & easy.

to call a procedure

P: 4
plz tell me how to call a stored procedure.
actually i m very new in .NET technilogy...
Feb 2 '09 #1
Share this Question
Share on Google+
2 Replies


100+
P: 344
Only you've to set CommandType property
sqlcom.CommandType = CommandType.StoredProcedure;
Then the command text to your certian procedure name
sqlcom.CommandText = theNameInDB;
Feb 2 '09 #2

P: 4
thanks so much,this hs solvd my problm
Feb 3 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.