I have a Listbox in to which I am binding the data coming from a DataTable
I am using VisualStudio 2003, .net 1.1
For Each dr As DataRow In dt.Rows Dim li As New ListItem(dr("BIPAD").ToString().PadRight(25, Microsoft.VisualBasic.ChrW((160))) + dr("TITLENAME").ToString()) lbMagTilteByCategory.Items.Add(li)
For Each dr As DataRow In dt.Rows
Dim li As New ListItem(dr("ID").ToString().PadRight(25, Microsoft.VisualBasic.ChrW((160))) + dr("NAME").ToString()).PadRight(25, Microsoft.VisualBasic.ChrW((160)))+dr("CITY").ToString()
ListBox.Items.Add(li)
Next
How can I Set Width for the Columns in ListBox ?.. How can I have Fixed Widths for Columns ??