listbox alignment

liunx

Guest
when i add data to the listbox but all the alignment is incorrect . is there any idea that can make the listbox alignment standardize

dim x as string
dim y as string
dim z as string

while rs.EOF = false
x = rs.fields("empId").value
y = rs.fields("name").value
z = x & "-" & y
listbox.items.add(z)
rs.movenext()
end whilewhat's wrong with the alignment?here is the list box output example

AD-religion
AAA-Name
Y-Occupation

all the alignment is incorrectIs it posible that the listbox have multicolumn in vb.net. it is because i want to make the standardice format in the listbox.
 
Back
Top