Category Archives: MS SQL

Calling a stored procedure from ASP.NET c# website/application

Hello All, To call a stored procedure you need to set CommandType property of SQLCommand to CommandType.StoredProcedure. Following is the sample code for the same:- Any ?’s, Please let me know. Thanks.

Creating SQL connection in ASP.NET C#

If you want to perform database operations from your ASP.NET website/application, Please use below code to connect and perform operations: Please share your queries…if any ?