call a stored procedure

noel54007

New member
Joined
May 16, 2016
Messages
1
Programming Experience
Beginner
I want someone can help me :
how to call a stored procedure (SQL Server 2014) by C# under envirnement visual studio 2015?
thank you in advance for your response.
 
Start by researching ADO.NET in general. Once you know the general principles of data access in .NET, all you have to do to execute a sproc is to set the CommandType of your SqlCommand to StoredProcedure and the CommandText to the name of the sproc. Everything else is the same.
 
Back
Top Bottom