R
ray well
i need to display 2 columns of data in a list box.
how would i set this up IN CODE.
say my table is tblNames, and i have 2 fields, FirstName, LastName, and want
the data to show up in 2 columns, LastName, followed by FirstName
normally i would say
ListBox1.DataSource = DataSet1.Tables("tblNames")
ListBox1.DisplayMember = "LastName"
but i want to define 2 columns in the list box with specified widths, and
then load the 2 fields.
how would i do that IN CODE?
thanks,
ray
how would i set this up IN CODE.
say my table is tblNames, and i have 2 fields, FirstName, LastName, and want
the data to show up in 2 columns, LastName, followed by FirstName
normally i would say
ListBox1.DataSource = DataSet1.Tables("tblNames")
ListBox1.DisplayMember = "LastName"
but i want to define 2 columns in the list box with specified widths, and
then load the 2 fields.
how would i do that IN CODE?
thanks,
ray