Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,


I want to make dynamic URL from SQL database for my Travel based application. Such as :

As i insert a new hotel in my database that's url should be like this : /hotel_taj_place_delhi instead of hotel_id=12.
I know url mapping through web config file. But it's wastage of time that i write mapped URL for each of my hotel in web config.

Please let me know how to do this.
(deleted marketing spam)
Posted
Updated 18-Aug-11 3:54am
v2

1 solution

Have a look at this article on MSDN:
http://msdn.microsoft.com/en-us/library/cc668201.aspx[^]

Be sure to check out the section called "Adding Routes to a Web Forms Application".

Cheers.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900