بسم الله الرحمن الرحيم
السلام عليكم
فى تلك السطور عملت connection على nortwind DB ولكن يعطى لى exception :( فى ذلك السطر
adapter.Fill(table);
ودة الكود
try
{
string Connection =
"data source=NemOoO®;integrated security=sspi;initial catalog=northwind";
string SqlString = "select ProductName from Products";
SqlDataAdapter adapter = new SqlDataAdapter(SqlString,Connection);
DataTable table = new DataTable();
adapter.Fill(table);
}
catch(Exception d)
{
MessageBox.Show(d.ToString());
}شكرا لكم
