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...
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...
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.