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

mobasir_2008@rediffmail.com

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.