不会阿
我刚才测试都检查到了
SqlConnection conn = new SqlConnection("Server=localhost;DataBase=TEST;UID=sa;PWD=sa;");
conn.Open();
SqlCommand comm = new SqlCommand();
comm.Connection=conn;
comm.CommandText="select * from city";
SqlDataReader dr=comm.ExecuteReader();
while(dr.Read())
{
}
dr.Close();
conn.Close();
RPC:Completed exec sp_executesql N'select * from city' .Net SqlClient Data Provider sa 0 15 0 0 0 53 2004-04-09 11:59:39.577
我刚才测试都检查到了
SqlConnection conn = new SqlConnection("Server=localhost;DataBase=TEST;UID=sa;PWD=sa;");
conn.Open();
SqlCommand comm = new SqlCommand();
comm.Connection=conn;
comm.CommandText="select * from city";
SqlDataReader dr=comm.ExecuteReader();
while(dr.Read())
{
}
dr.Close();
conn.Close();
RPC:Completed exec sp_executesql N'select * from city' .Net SqlClient Data Provider sa 0 15 0 0 0 53 2004-04-09 11:59:39.577
我监测时选择的是监测计算机:wwwfff,当我运行cs程序时,可以监视到数据库的访问,但运行bs程序时,却什么也看不到,请问我设错了哪儿啊?
bs中要是能监测到Server,哪个敢用