i want to rewrite url in iis 7.0, i have gridview and passing id to next page...for further data display at page load..my code is :
<asp:HyperLink id="HyperLink1" runat="server"
NavigateUrl='<%# String.Format("Category.aspx?id={0}&title", Eval("Cat_ID"),Eval("category_name")) %>'
Text='<%# Eval("category_name") %>' CssClass="head1"></asp:HyperLink>
at next page
http://localhost/Advij/Category.aspx?id=1&title=Apparel%20&%20Garments
it should be like this ,
http://localhost/Advij/Category/1/Apparel%20&%20Garments.html
i am sucessfully writing the url but it is passing null value in "id"
i am changing hyperlink navigation url like this:
<asp:HyperLink id="HyperLink1" run ...
Go to the complete details ...