Click here to Skip to main content
14,241,236 members
Rate this:
Please Sign up or sign in to vote.
See more:
I want to read data from table. I want to use from dataset(---.xsd file). how i read data from table and add to Listbox.
Maciej Los 18-Dec-14 15:35pm
What data exactly do you want to get from xsd file?
Post sample xsd data.
moosa il 18-Dec-14 15:58pm
i have own column [name] from table [Names]. I want just read this and add to list box.
Maciej Los 18-Dec-14 16:35pm
Use "Reply" widget, if you want post reply my comment.
Not enough information still...
Please, be more specific and provide more details. Use "Improve question" widget.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

It is not entirely clear what it is you want to do, so this is my best guess.

If you have a schema you can create a DataSet in Visual Studio like this: Creating a DataSet[^]

When you have a DataSet you can fill it from a database via a SqlDataAdapter[^]

Finally you need to bind the data to the list box: ASP.NET data binding overview[^]
or How to bind data to ListBox control in ASP.NET using C#[^]
I hope this will help you on the way.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100