A
Aussie Rules
Hi,
I have a datalist on my page that I bind a dataset to in my code..
SqlDataAdapter.SelectCommand = SqlCommand
SqlDataAdapter.Fill(ds, "SearchResults")
DataList1.DataSource = ds
DataList1.DataBind()
One of my cols in my dataset is a sql image col, that contains a small
image. I want to display the image in the datalist. I have placed a HTML
image (serverside) in my datalist item template.
For the other cols which are text I simply have set the datalist to display
the values using <%#Container.DataItem("bedrooms")%> in the HTML.
How can I do this for an image.
Thanks
I have a datalist on my page that I bind a dataset to in my code..
SqlDataAdapter.SelectCommand = SqlCommand
SqlDataAdapter.Fill(ds, "SearchResults")
DataList1.DataSource = ds
DataList1.DataBind()
One of my cols in my dataset is a sql image col, that contains a small
image. I want to display the image in the datalist. I have placed a HTML
image (serverside) in my datalist item template.
For the other cols which are text I simply have set the datalist to display
the values using <%#Container.DataItem("bedrooms")%> in the HTML.
How can I do this for an image.
Thanks