I want to execute this stored procedure from a C# program.
I have written the following stored procedure in a SqlServer query window and saved it as stored1:
No Dapper answer here. So I added one
using Dapper; using System.Data.SqlClient; using (var cn = new SqlConnection(@"Server=(local);DataBase=master;Integrated Security=SSPI")) cn.Execute("dbo.test", commandType: CommandType.StoredProcedure);