M
Mark B
I have a Datagrid working fine, outputting:
Group
Most Popular Product Code
--------
-------------------------------
Earth.New Zealand
32
Earth.New Zealand
32
Earth.New Zealand.Auckland
32
Earth.New Zealand.Auckland
32
Earth.New Zealand.Auckland.Auckland
7
Earth.New Zealand.Auckland.Auckland.Parnell
7
Earth.New Zealand.Auckland.Henderson
10024
Earth.New Zealand.Auckland.Henderson.New Account
10024
Earth.United States
32
Earth.United States.Texas
32
Now I want to do these 2 things:
1) Have clickable hyperlinks on each sub-group and not the periods e.g. for
the last entry above (Earth.United States.Texas):
<a href="http://www.mysite.com/showgroups/?GroupName=Earth">Earth</a>.<a
href="http://www.mysite.com/showgroups/?GroupName=Earth.United
States">United States</a>.<a
href="http://www.mysite.com/showgroups/?GroupName=Earth.United
States.Texas">Texas</a>
I still want people to be able to sort the column as displayed though.
2) Rather than display the Most Popular Product Code (SQL int), I want the
result of the function fConvertCodeToProductTitle(lngProductID as Long) as
String. I still want people to be able to sort by the long integer value
though -- even though I don't want it displayed for the column.
How can I do this with the Datagrid control (Visual Web Developer 2008
Express)?
TIA
Group
Most Popular Product Code
--------
-------------------------------
Earth.New Zealand
32
Earth.New Zealand
32
Earth.New Zealand.Auckland
32
Earth.New Zealand.Auckland
32
Earth.New Zealand.Auckland.Auckland
7
Earth.New Zealand.Auckland.Auckland.Parnell
7
Earth.New Zealand.Auckland.Henderson
10024
Earth.New Zealand.Auckland.Henderson.New Account
10024
Earth.United States
32
Earth.United States.Texas
32
Now I want to do these 2 things:
1) Have clickable hyperlinks on each sub-group and not the periods e.g. for
the last entry above (Earth.United States.Texas):
<a href="http://www.mysite.com/showgroups/?GroupName=Earth">Earth</a>.<a
href="http://www.mysite.com/showgroups/?GroupName=Earth.United
States">United States</a>.<a
href="http://www.mysite.com/showgroups/?GroupName=Earth.United
States.Texas">Texas</a>
I still want people to be able to sort the column as displayed though.
2) Rather than display the Most Popular Product Code (SQL int), I want the
result of the function fConvertCodeToProductTitle(lngProductID as Long) as
String. I still want people to be able to sort by the long integer value
though -- even though I don't want it displayed for the column.
How can I do this with the Datagrid control (Visual Web Developer 2008
Express)?
TIA