使用Respponse.Redriect方法传递汉字信息

      举例说明:

      传值:(A页面)String message=Server.UrlEncode("欢迎光临!");
                                     Response.Redriect("WebForm1.aspx? Msg=" + message);

      接值:(B页面)String Message=Server.UrlDecode( Request.QueryString["Msg"] );

      这样就可以在B页面通过Message值来使用从A页面传过来的带有汉字的信息了。
posted on 2007-07-17 23:16  columbus.yan  阅读(291)  评论(0编辑  收藏  举报