Posted on: 9/27/2012 1:23:43 AM | Views : 224

i have a problem getting image into list what should i changed?


Protected Sub bindStylistImgs() Dim objDs As PagedDataSource = New PagedDataSource() Dim dt As New DataTable Dim imageCol As DataColumn = New DataColumn("images", System.Type.GetType("System.String")) dt.Columns.Add(imageCol) Try Dim SQLstring As String = "SELECT * from Stylebook WHERE SalonNaam = '" + lblsalon.Text + "'" Using connection As New OleDbConnection(con) Using cmd As New OleDbCommand(SQLstring, connection) cmd.CommandType = CommandType.Text connection.Open() Dim myda As OleDbDataAdapter = New OleDbDataAdapter(cmd) myda.Fill(dt) End Using connection.Close() End Using If dt.Rows.Count > 0 Then ...

Go to the complete details ...