سلام
SqlCommand com=new SqlCommand();
DataSet ds = new DataSet();
string str = "Data Source=نام سرور;initial Catalog=نام دیتابیس;Integrated Security=True";
con.ConnectionString=str;
com.Connection=con;
com.CommandText="select * from نام جدول";
da.SelectCommand=com;
da.Fill(ds);
dataGridView1.DataSource=ds.Tables[0];
con.Close();
اگه امکان داره یه توضیحی در مورد Data set یا همون ds و همینطور Data Adapter و () da.fill و
[0] ds.Table که چه کاری دارن تو این سورس و در کل انجام میدن به هم بدین
و چگونه با کلیک روی یک command Button داده را از text Box به بانک انتقال بدهم
اگه یه کد مثل کد بالا هم گذاشتین که خیلی عالی میشه