Hi Imar,
Do you know where I can find more information on eval() or its syntax?
I understand it is used to get the database fields as in eval("ImageUrl") to obtain the the URL for the image from the database table.
The reason I ask is that in my database I have two fields that make up the URL for the image. One I call
Path and the other is
Filename. On page 469, you use eval to obtain the ImageUrl, (which has the complete image URL in it. In mine, I have to string together eval("Path") and eval("Filename") and then I can assign them to the ImageUrl property of the Image control.
My two field contents resemble this:
Path: (nvarchar)
~/folder1/folder2/
Filename: (nvarchar)
Image1.jpg
I need it to be like this:
~/folder1/folder2/Image1.jpg
I imagine it is done in the code behind, but I'm not sure how.
Fred