In Gridview I have column representing Thumbnail image which works fine.:
<asp:ImageFie ld DataImageUrlFie ld="PicFile1"
DataImageUrlFor matString="Imag es/A009/Thumbs/{0}">
</asp:ImageField>
I want the fixed 'A009' to be replaced by Session variable - "ClCode"
VB in code-behind I have:
iPicFile = ImageString & Session("ClCode ") & "/Thumbs/{0}"
How can "iPicFile" variable be used in DataImageUrlFor matString?
With thanks
<asp:ImageFie ld DataImageUrlFie ld="PicFile1"
DataImageUrlFor matString="Imag es/A009/Thumbs/{0}">
</asp:ImageField>
I want the fixed 'A009' to be replaced by Session variable - "ClCode"
VB in code-behind I have:
iPicFile = ImageString & Session("ClCode ") & "/Thumbs/{0}"
How can "iPicFile" variable be used in DataImageUrlFor matString?
With thanks