Posted on: 5/12/2011 2:59:09 PM | Views : 222

This is the code that creates a hyperlinkfield:
            <asp:hyperlinkfield
                Headertext="Property ID"
                datatextfield="cpnyid"
                datanavigateurlfields="cpnyid"
                datanavigateurlformatstring="{0}.aspx" />
 
The resulting html created is:
<td><a href="CAPRI%20%20%20%20%20.aspx">CAPRI & ...

Go to the complete details ...