خرید بک لینک
دوستان میخام کوئری زیر اجرا کنم و جوابش درون لیبل نشون بدم
string Coection = ConfigurationManager.CoectionStrings["cmsCoectionString"].CoectionString;
string namedatabase = "USE[democms]";
SqlCoection coect = new SqlCoection(Coection);
string Query = namedatabase + "exec sp_spaceused";
SqlCommand command = new SqlCommand(Query, coect);
coect.Open();
command.ExecuteNonQuery();
coect.Close();
Label1.Text = command.ToString();


خروجی:System.Data.SqlClient.SqlCommand

برچسب: نویسنده: خنج تاريخ: شنبه 16 دی 1396 ساعت: 21:52

صفحه بندی