tryDataSet ds2 = new DataSet();
--->
DataSet ds2 = new DataSet();
DataTable dt0 = new DataTable();
ds2.Tables.Add(dt0);没太仔细看你的其它代码,建议楼主先找本书来看下吧