views:

9

answers:

1

I have a bindinglist. i am using a textbox to show its items

WithEvents xBind As New BindingList(Of Emp)

I added items this way

xBind.Add(New emp("alpha0", "B"))
xBind.Add(New emp("alpha1", "B"))
xBind.Add(New emp("alpha2", "B"))
xBind.Add(New emp("alpha3", "B"))

I am binding the first property to a textbox

TextBox1.DataBindings.Add("text", xBind, "eName")

It shows "alpha0" in the form which is first item in the xbind Now how do I display the second item in textbox1 when i click "MoveNext" button ?

A: 

I think you need a listbox or grid instead of a textbox, which only shows one value at a time.

Beth
yeah, thats true but i have tons of properties that needs to be shown in textboxes. and traverse using next button
Sr7