开发者

Get info about Http Post field order

开发者 https://www.devze.com 2022-12-30 07:36 出处:网络
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.

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

精彩评论

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