1. B

    Datatables & Listbox problem part 2

    Hi All, As per my previous thread I'm having huge trouble getting some data to display in my listboxes. The btnInvoice gives me "There is no row at position 17." Obviously my logic has gone awry, as I'm certain there aren't that many items. Any ideas very welcome!! Relevant Code below...
  2. B

    Question Datatables & Listbox problem part 1

    Hi VB Legends, I've been struggling with a program to access a database with three tables and present some of the information in a couple of listboxes. I'm afraid my brains turned to mush and I can't find anything that seems to help. Any assistance very welcome. When I push the btnOutOfStock...
  3. D

    Question Having Displaymember and Valumember for TextBox

    Can we have a Displaymember and Valuemember property (like combobox) for a TextBox so that if i user types a string value in the textbox, its Text Property will have the string and Value property will have its ID (Primary Key value). Please help! Regards
  4. S

    Listbox Items Do Not Refresh

    I am adding an object to a Listbox which has the properties "ID" and "Text". I have set the "DisplayMember" property of the Listbox to "Text" and "ValueMember" to "ID". Everything works fine when I add a new item to the list, but when I edit the item and change the "Text" value, it is changing...