Hello,
I'm using this code to load data from my DB ro Radio Button List
mycon.Open()
Dim com = New SqlCommand("Select logo_id, logo_name from tbllogoslist", mycon)
Dim da As New SqlDataAdapter()
da.SelectCommand = com
Dim ds As New DataSet()
da.Fill(ds)
Dim logoim As String = "<img src='../iamge1.jpg' width='225' height='160' />"
rbllogos.DataSource = ds
rbllogos.DataTextField = logoim
rbllogos.DataValueField = "logo_id"
rbllogos.DataBind()
mycon.Close()
But I have got this error
DataBinding: 'System.Data.DataRowView' does not contain a property with the name '<img src='../iamge1.jpg' width='225' height='160' />'.
How can I load Image from my DB into RBL?
Thank you.
Go to the complete details ...