I have the following code:
For i = 0 To lstLineFinder.Items.Count - 1
dr = _tblSelectedLines.NewRow
dr.Item("Line ID") = lstLineFinder.Items.Item(i).ToString
I am binding the datatable to my gridview but that field is being displayed as:
What am I doing wrong?
I need the value of the selected item?!