Load Dataset first row value in Listbox
ASP.NET
5
Posts
2
Posters
0
Views
1
Watching
-
Hi, I need to load the Dataset's first row value in a List box. Can any one say the syntax.
-
Do You want bind the first Column value to the ListBox or the First Row Value? Am confussed...
Regards
- J O N -
-
ListBox.Items.Add(New ListItem((ds.Tables(0).Rows(0).Item("ColName").ToString), (ds.Tables(0).Rows(0).Item("ColName").ToString)))
Regards
- J O N -