且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何进行动态查询字符串的url重写?

更新时间:2023-11-15 15:21:22

在.net 3.5中,这是一个内置功能.使用System.Web.Routine命名空间类,这一切变得非常简单明了.

通过波纹管链接

单击此处 [ ^ ]
In .net 3.5, this is an in-built feature. Using System.Web.Routine namespace classes, This all is made very simple and straight forward.

go through bellow link

click here[^]


string id = Index.ToString();
id = Request.QueryString["ID"];



如果Index = 5
,则上面的代码等效于Details.aspx?ID = 5
如果可以解决您的问题,请将其标记为正确的解决方案

***的问候,
爱德华



The code above is equivalent to Details.aspx?ID=5 if Index = 5

Please mark this as correct solution if it solves your problem

Best regards,
Eduard