怎么判断数据库查询为空?
											            SqlCommand cmd=new SqlCommand("select * from stu where status=2",conn);
            SqlDataReader sdr=cmd.ExecuteReader();
            while(sdr.Read())
            {
                 ...................
            }
查询到有的时候就执行while里面的东西,但我现在是想当查询结果为空的时候执行某些代码,
应该怎么判断?谢谢!         



 
											





 
	    

 
	