开发者

Get info about Http Post field order

Is it possible to get information about post field开发者_如何转开发 order in ASP.NET? I need to know whether some field was the last one or not.

I know I can do it through Request.InputStream, but I’m looking for a more high level solution without manually stream parsing.

Generally I’m doing testing of http post sent by my application and there is no practical usage for this in ASP.NET.


The post order is the same as they found on page.

Make this test, the order you get them, is the one you have placed it on page.

foreach (string cEna in Request.Form)
{
    txtDebug.Text += "<br>" + cEna;
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜