I am using VS.NET to build an application that contains a DataGrid with a column showing images based on the path (text field) from a column in the database table (Jet 4.0).
I used the Property Builder to format the DataGrid, then Edit Template (Item Template) and Data Bindings to attach the image column to the database column as ImageURL.
The Binding is:
DataBinder.Eval(DataSet11, "Tables[qryProperty_Record].DefaultView.[0].Photo")
I have three test records in the table with different text and image paths. The problem is, when I display the page, the text is correct but the image displayed is the same for all records, i.e. the photo from the first record read.
Any suggestions would be appreciated.
I used the Property Builder to format the DataGrid, then Edit Template (Item Template) and Data Bindings to attach the image column to the database column as ImageURL.
The Binding is:
DataBinder.Eval(DataSet11, "Tables[qryProperty_Record].DefaultView.[0].Photo")
I have three test records in the table with different text and image paths. The problem is, when I display the page, the text is correct but the image displayed is the same for all records, i.e. the photo from the first record read.
Any suggestions would be appreciated.