Home All Groups Group Topic Archive Search About

LIstbox having multicolumn

Author
31 Mar 2006 8:42 AM
dev.amit
Hello Friends

I am a new bee to the world of vb.
I have an appication in the MS Access and now i have to convert it to
the Vb.
I am having problem creating multicolumn Listbox in the vb form.
I have dont it quite simply with ease in Access but here i am blank.
        1.I want to show Three column in the list box.
        2. I would populate this with the help of a query which picks
data from two tables
        3.When i would select a row all the there items in that row
should be selected.
        4.It should allow multiselect
        5. i must be able to acces the different column values of the
the selected rows

Any help is great
Thanks
Takecare
Love
Amit

Author
31 Mar 2006 9:15 AM
Cor Ligthert [MVP]
Hi,

There is no need anymore for a multicolumn Listbox in VBNet, the DataGrid
and DataGridView are much more advanced than that. You can remove the Left
and Top headers than you have a multicolumn Listbox

I hope this helps,

Cor
Author
31 Mar 2006 10:39 AM
Herfried K. Wagner [MVP]
"dev.amit" <agrawal.soluti***@gmail.com> schrieb:
> I have an appication in the MS Access and now i have to convert it to
> the Vb.
> I am having problem creating multicolumn Listbox in the vb form.
> I have dont it quite simply with ease in Access but here i am blank.
>        1.I want to show Three column in the list box.
>        2. I would populate this with the help of a query which picks
> data from two tables
>        3.When i would select a row all the there items in that row
> should be selected.
>        4.It should allow multiselect
>        5. i must be able to acces the different column values of the
> the selected rows

Check out the DataGrid (.NET 1.*), DataGridView (.NET 2.0) and/or the
ListView controls.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>