如何统计有几条记录
string strSql = "select id from ComputerAd order by id desc";
SqlCommand LoadCMD = new SqlCommand(strSql, MyConnection);
SqlDataAdapter adapter = new SqlDataAdapter(strSql, MyConnection);
adapter.SelectCommand = LoadCMD;
adapter.Fill(ds);
之后怎么读取我里面有几条记录
谢谢