J
Jongmin
Hi!
I am making HyperLinkColumn in datagrid.
It is simple to make the hyerlinkcolumn with one datafield.
<asp:HyperLinkColumn
Text="NAME"
DataNavigateUrlField="NAME"
DataNavigateUrlFormatString="http://www.aaa.com?Name={0}"
SortExpression="NAME" />
However, I want to make the hyperlinkconlum with two or
more datafields
I tried to the following ways... but it didn't work...
1)
<asp:HyperLinkColumn
Text="NAME"
--->DataNavigateUrlField="ID"
--->DataNavigateUrlField="NAME"
DataNavigateUrlFormatString="http://www.aaa.com?ID={0}
&Name={0}"
SortExpression="NAME" />
2)
<asp:HyperLinkColumn
Text="NAME"
--->DataNavigateUrlField="ID, NAME"
DataNavigateUrlFormatString="http://www.aaa.com?ID={0}
&Name={0}"
SortExpression="NAME" />
How to make HyperLinkColumn with two or more datafields?
Thanks,
Jongmin
I am making HyperLinkColumn in datagrid.
It is simple to make the hyerlinkcolumn with one datafield.
<asp:HyperLinkColumn
Text="NAME"
DataNavigateUrlField="NAME"
DataNavigateUrlFormatString="http://www.aaa.com?Name={0}"
SortExpression="NAME" />
However, I want to make the hyperlinkconlum with two or
more datafields
I tried to the following ways... but it didn't work...
1)
<asp:HyperLinkColumn
Text="NAME"
--->DataNavigateUrlField="ID"
--->DataNavigateUrlField="NAME"
DataNavigateUrlFormatString="http://www.aaa.com?ID={0}
&Name={0}"
SortExpression="NAME" />
2)
<asp:HyperLinkColumn
Text="NAME"
--->DataNavigateUrlField="ID, NAME"
DataNavigateUrlFormatString="http://www.aaa.com?ID={0}
&Name={0}"
SortExpression="NAME" />
How to make HyperLinkColumn with two or more datafields?
Thanks,
Jongmin