I want to publish two types of information on same column in ASP grid view.
<asp:BoundField DataField="name" HeaderText="name" SortExpression="name" />
<asp:hyperlinkfield text="Detail" datanavigateurlfields="name" datanavigateurlformatstring="LeadInformation.aspx?name={0}" />
The first column is a BoundField and second one is hyperlinkField. These two types of information will display separately on two columns. or else I can do like this.
<asp:HyperLinkField DataNavigateUrlFields="name" DataNavigateUrlFormatString="LeadInformation.aspx?name={0}"
DataTextField="name" HeaderText="User Name" SortExpression="name" />
Then it will display all information on one column as a hyperlink.
I just want to display name
as it is. (not as a hyperlink). And in same column,add a hyperlink like above.
Please help me.