Need help with Listbox

Feral Shadow
01-03-2005, 05:17 AM
I have made an application that connects to an acces database... using Visual the connection part is going well also getting information out of it is going well... But i want to put it into an listbox so i made a search on the forums. And there turned out an additem. but additem doesn't work :mad: it gives the following error additem is not part of system.window.forms.listbox. I know what this means, only i don't know what to do now.. can someone tell me which code i can use to accomplisch this task?

01-03-2005, 08:58 AM
If this is not a database connection related question, then you use yourlistbox.Items.Add(...) to add an item to a listbox, not .AddItem. :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum