SQL数据返回和接收问题
我要获取他的数据条数、并且在asp页面显示public string GetCountBySidAndTrainId(int sit, int tid)
{
string sql = "select count(*) from SitInfo where sittypeid = '"+sit+"' and trainid = '"+tid+"' and noid = 1";
DataSet objset = new DataSet();
objset = db.GetDataSet(sql);
//这里要怎么返回?
}
页面怎么接收?