Hello Dear Sir,

I am using vb.Net and SQL Server for my project.I stored data into data base.I

I wnat to display it into Listbox so how can i do please help me.

In table Name varchar(10),Idnvarchar(20),Limi1 INT,Limit2 INT,Limit3 INT,Limit4 INT

I can display name in order


One way is to convert the table to a list of a custom class where each column is a member. Simply override the ToString() method to display the property you want. Setting the list as the datasource for the listbox will display your chosen property while mantaining the rest of the data as well.