string id = Request.QueryString["id"];
int intid=System.Convert.ToInt16(id);
new DataView(MyDataSet.Tables.["bbs"],"announceid=intid","announceid",DataViewRowState.CurrentRows);
用
announceid=77又能用
...全文
791打赏收藏
在new DataView中查询时我要用变量但不行帮我看看!!!
string id=Request.QueryString["id"]; int intid=System.Convert.ToInt16(id); new DataView(MyDataSet.Tables.["bbs"],"announceid=intid","announceid",DataViewRowState.CurrentRows); 用 announceid=77又能用