Hi,
I am creating a dynamic website in asp.net based on content fetching from MSSQL DB. What I want to do is : everycontent has its own link/url based on contentId-Title. How can I do this?
Example: Table has : ID :1 Title : Mytitle Description :This is description Extension : .html Url :
Now, I need to show the all results in a datagrid with title link as:
Title : mytitle => Now whenever anybody clicks on it it will resolve in the form of : "/1-mytitle.html"
So, formula to create url is : ID-Title Extention for instance above will generate as :
<a href="/1-mytitle.html">MyTitle</a>