SqlDataReader dr=getData();
while(dr.read())
{}
如果数据已读到底,dr.read()返回false,会跳出while循环