成都网站建设设计

将想法与焦点和您一起共享

asp.netashx接收post数据

 if (context.Request.InputStream != null)
        {
            byte[] postData = new byte[context.Request.InputStream.Length];
            context.Request.InputStream.Read(postData, 0, postData.Length);
            string postDataString = System.Text.Encoding.UTF8.GetString(postData);
            context.Response.Write(postDataString);            
     }

名称栏目:asp.netashx接收post数据
链接URL:http://chengdu.cdxwcx.cn/article/jdjces.html