C
CR
In VB6 if I wanted to display a group of records, and possibly allow
the user to select one or more records, I would use the ListBox. For
example suppose I wanted to display something like this:
Name Address Phone Number
Johnson 111 South Av 111-1111
Smith 222 Main St 222-2222
In VB6 I would use a label and a listbox. The label would contain the
header. To make the columns line up in the listbox I would use a
"fixed length" font. Then I would pad each listbox entry with spaces
in between each field. It was easy to do but I'm wondering if there is
a better way in .NET.
Thanks!
Chuck.
the user to select one or more records, I would use the ListBox. For
example suppose I wanted to display something like this:
Name Address Phone Number
Johnson 111 South Av 111-1111
Smith 222 Main St 222-2222
In VB6 I would use a label and a listbox. The label would contain the
header. To make the columns line up in the listbox I would use a
"fixed length" font. Then I would pad each listbox entry with spaces
in between each field. It was easy to do but I'm wondering if there is
a better way in .NET.
Thanks!
Chuck.