xml存入DataSet!!!!!!!!!!!!!!!!!!
ds = new DataSet();
String requestStr = " " +
" <Request> " +
" <crollingInfo> " +
" <isplayReq> 50 </isplayReq> " +
" <ageItems> 10 </ageItems> " +
" <ageNo> 1 </ageNo> " +
" </crollingInfo> " +
" </Request> ";
string strurl = "http://200.90.130.80/servlet/tdproller?request= " + requestStr; //欲获取的网页地址
FileStream fs = new FileStream(strurl,FileMode.Open);
StreamReader reader=new StreamReader(fs);
ds.ReadXml(reader);
this.GridView1.DataSource = ds.Tables[0];
this.GridView1.DataBind();
执行到FileStream fs = new FileStream(strurl,FileMode.Open);时出错
------解决方案--------------------FileStream s = new FileStream(Server.MapPath( "/inc/Languages.xml "), FileMode.OpenOrCreate, FileAccess.Read);