开发者

Is there a way to alter a value in Request.Params["MyCustomKey"]

开发者 https://www.devze.com 2023-01-22 17:54 出处:网络
I need to ch开发者_运维问答ange a value in Request.Params[\"MyCustomKey\"] Is any way to do it?Usually you just don\'t need to alter Request.Params value. Why do you need that?

I need to ch开发者_运维问答ange a value in Request.Params["MyCustomKey"]

Is any way to do it?


Usually you just don't need to alter Request.Params value. Why do you need that?

Edit:

I think the correct way to do this is pass ID separately of the StringID, so you will be able to get your 100 value from Request without parsing link button's text. Who forms String ID 100 text?


I do not know your application architecture, but why not writing a static method for parsing or even a extension method? You shouldn't change the values in Request.Params

0

精彩评论

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

关注公众号