468,256 Members | 1,392 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,256 developers. It's quick & easy.

Refreshing a listbox bound to a dataset

I am fairly new to VB.NET and I am having some difficulty working with a
bound listbox.

On a simple form, I open a connection to my database and load a dataser. I
then bind a listbox to the the dataset and set the display member. I also
connect some filed using databinding.

I am able to choose an item from the listbox and edit it, but the listbox is
not refreshing (only the original values are visible in the listbox). If I
choose a different value form the listbox, the values in the textboxs are
correct. And if I select the previously edited value again in the listbox,
the textbox will show the new 'edited' value, but the listbox still displays
the old value.

Am I missing something? Shouldn't the lsitbox automatically refresh (like a
datagrid)?

Any help would be greatly appreciated.

Thank you
Tony
Nov 22 '05 #1
0 1106

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Pete Davis | last post: by
3 posts views Thread by Lasse Edsvik | last post: by
reply views Thread by Joseph Ashizawa | last post: by
6 posts views Thread by Young J. Putt | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.