سلام بر تمامی برنامه نویسان عزیز 😉 در این پست کد فراخوانی stored procedure به وسیله SqlCommand در c#.net را آماده کردم. امیدوارم که این کد برای شما مفید باشد.
کد فراخوانی stored procedure به وسیله SqlCommand در c#.net :
using System;
using System.Data;
using System.Data.SqlClient;
class Program
{
static void Main(string[] args)
{
SqlConnection thisConnection = new SqlConnection(
@"Data Source=.\SQLEXPRESS;" +
@"AttachDbFilename='NORTHWND.MDF';" +
using System.Data;
using System.Data.SqlClient;
class Program
{
static void Main(string[] args)
{
SqlConnection thisConnection = new SqlConnection(
@"Data Source=.\SQLEXPRESS;" +
@"AttachDbFilename='NORTHWND.MDF';" +