开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜