Hi Jen,
If I use the first method, and if the client changes the ProductName to some thing else than all the selection for that product are lost. So it would be worth using the ProductID as the join and showing ProductName on the frontend as the result.
I have started creating a transformation function but I am still missing something:
My Transformation Function code:
public static string ReplaceWithValues(object id)
{
// Checks that text is not null.
if (id == null | id == DBNull.Value)
{
return "";
}
else
{
string idString = (string)id;
return idString;
}
}
Code which calls the function from a transformation:
<%# CustomCode.ReplaceWithValues(Eval("Site")) %>
It is still showing the ID's and not the values. Any ideas what am I missing?
Thanks
Gitesh Shah