void RegistreRoutes(System.Web.Routing.RouteCollection routes) { routes.MapPageRoute( "products-browse", "ShowInfCourse/{id}/{name}", "~/ShowInfCourse.aspx"); routes.MapPageRoute( "products1-browse1", "ReDownload/{id}/{name}", "~/ReDownload.aspx");
<asp:TemplateField HeaderText="test"> <ItemTemplate> <asp:HyperLink ID="Fsyllab" NavigateUrl='<%# String.Format(Eval("FCourseID","~/ReDownload/{0}/" + Eval("FCourseName")+ Eval("Fname")))%>' target="_blank" runat="server" Width="20px" Height="10px" ImageUrl="/Images/main/download.png" CommandArgument='<%# Eval("FCourseID") %>' Font-Underline="false" Text='<%# Eval("FCourseDuration").ToString() %>' /> </ItemTemplate> <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" /> <ItemStyle HorizontalAlign="Center" Width="70px" /> </asp:TemplateField>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)