//****************判断DataSet记录数是否为0 DataSet ds=new DataSet(); bool isNull=false; if(ds.Tables.Count ==0) { isNull = true; }