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