开发者

how can I use a Request.Form() on a windows application?

I have written a HTTP server in VB.NET but I don't know how to use the Request.Form() method on a windows application. I need it to read HTML data sent开发者_StackOverflow中文版 in a HTML form. Please help me.


Assuming you have valid HttpContext, just add reference to System.Web assembly in your project, then have such code:

Dim value As String = System.Web.HttpContext.Current.Request.Form("mykey")
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜