Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted
Comments
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

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.
 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900