日期:2014-05-17  浏览次数:20453 次

【弹出对话框里面自定义数据】订单号

C# code

string numid=2312312.tostring();
Response.Write("<script>alert('亲!礼品兑换成功了。订单号是【'"+numid+"'】);window.location.href='dingdan.aspx'</script>");


不弹出来 。请问要用哪种方式才能 这样加。

------解决方案--------------------
ASP.NET弹出对话框几种基本方法
------解决方案--------------------
Response.Write("<script>alert('亲!礼品兑换成功了。订单号是【"+numid+"】);window.location.href='dingdan.aspx';</script>");