i want to execute Store procedure via asp.net code, behind submit button, (SIGNUP)
and also for login . how should i run store procedure ?
and store procedure is in DB(sql).

Recommended Answers

How are you running your normal database queries (or do you have any)?

SqlCommand.ExecuteNonQuery and SqlCommand.ExecuteScalar are simple enough if you're using plain ADO.NET.

You can also wire up stored procedures to a

Jump to Post

All 3 Replies

You must have to post relevant code that you've written so far, name of Database product that you're using, and Stored-Proc desciption (name along with parameters type).

Generally, we use ADO.NET core Provider API - Connection,Command,DataReader classes to execute Stored-procedures/functions/queries.

ok ok ....thanks guys !!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.