|
-
Jan 29th, 2003, 11:12 AM
#1
Thread Starter
Junior Member
Tabledef equivalent in ADO.NET
I want to populate a listbox with tables in my sql database. Is there another way I can achieve this without going through the dataset route?
Thanks
-
Jan 30th, 2003, 02:20 AM
#2
Registered User
You can use a DataReader to read record by record in a loop and add items manually.
-
Jan 30th, 2003, 08:39 AM
#3
Thread Starter
Junior Member
Re: Tabledef equivalent
Thanks Athley for your reply. I missed out a vital piece of information from the earlier email. What I really wanted to do was to populate the listbox with table names in my sql 2000 database. I have achieved this using sqldmo, and the old ADOX but wondered if there was any classes or methods within ADO.net that would achieve this objective.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|