首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

从xml中想页面传递参数,如何传递!

2011-12-31 
从xml中想页面传递参数,怎么传递!!!急printstr + m type\p\ symbol\3\ symbolName\App\ port

从xml中想页面传递参数,怎么传递!!!急
printstr += " <m type=\"p\" symbol=\"3\" symbolName=\"App\" port=\"1\" stattype=\"1\" color=\"33cc33\" size=\"0.08\" flash=\"0\" t=\" " + STCD + "/" + STNM + " \" url=\"http://localhost:4096/main/jiancezhan/yueri.aspx?stnm="+STNM+"\">";

主要是下面的url中的一些转义符怎么弄啊,我现在传了一个stnm这个参数,要是我在想传递一个参数,怎么传递呢!后面在写呢。我弄不清楚那些转义符的作用!

[解决办法]
STNM = STNM + "&STNM2=2222"
[解决办法]
printstr += " <m type=\"p\" symbol=\"3\" symbolName=\"App\" port=\"1\" stattype=\"1\" color=\"33cc33\" size=\"0.08\" flash=\"0\" t=\" " + STCD + "/" + STNM + " \" url=\"http://localhost:4096/main/jiancezhan/yueri.aspx?stnm="+STNM+"&id=1\">";

[解决办法]
printstr += " <m type=\"p\" symbol=\"3\" symbolName=\"App\" port=\"1\" stattype=\"1\" color=\"33cc33\" size=\"0.08\" flash=\"0\" t=\" " + STCD + "/" + STNM + " \" url=\"http://localhost:4096/main/jiancezhan/yueri.aspx?stnm="+STNM+"&abc=" + ABC + "\">";

热点排行