首页 > 代码库 > Response响应请求操作

Response响应请求操作

using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Text;namespace WeiXin.Core{    public class ResponseHelper    {        public static void Success(string Data)        {            HttpContext context = HttpContext.Current;            context.Response.ContentType = "text/xml";            context.Response.ContentEncoding = Encoding.UTF8;            context.Response.Write(Data);        }       }}

 

Response响应请求操作