创建一个连接SqlConnection connection = new SqlConnection(MyConn)
创建一个command对象SqlCommand command = connection.CreateCommand()
command.CommandText = 存储过程名,你这里就是brows
command.CommandType = CommandType.StoredProcedure
DataTable dt = new DataTable();
创建一个适配器对象
SqlDataAdapter adapter = new SqlDataAdapter(command);
adapter.Fill(dt);
dt里就是查出来的数据,赋值datagridview1.DataSource = dt.DefaultView