سلام
اینو امتحان کن ببین به دردت می خوره
SqlConnection dataConnection = new SqlConnection();
dataConnection.ConnectionString = "Integrated Security=true;" +
"Initial Catalog=Northwind;" +
"Data Source= YOUR-B54924F67E";
dataConnection.Open();
string strsql = "SELECT * from orders ";

SqlDataAdapter da = new SqlDataAdapter(strsql, dataConnection);
DataSet ds = new DataSet();