ADO.NET in VB.2005 101, Applied Version Please (i.e.  I can make NorthWind, Microsoft's famous Export Traders Database)

Posted on 2006-11-06
Last Modified: 2010-08-05
I am a programmer in VB6 and Access STILL unforntunally.  I was wondering if anyone had any Good examples of Data-Binding; from one Table, many Tables,  heirachtical data, like Order and LineItems in Order.  Using Data Objects and Code ways of ADO.NET)

Will be later seperated into more questions.

Thank You

Question by:PC_tech22
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 13

Accepted Solution

newyuppie earned 350 total points
ID: 17886999
you can download and examine several samples from microsoft specifically for ADO.NET

Author Comment

ID: 17887114
I will get a chance to look at these.  Is there one good example of each that you can directly point me to.  Like Binding a Form tblInventory or something
LVL 12

Assisted Solution

sandip132 earned 150 total points
ID: 17887419
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 17888032
I used the way of draging textboxes from the Data Source Viewer. Now how do I query the recordset that is Generated.
LVL 13

Assisted Solution

newyuppie earned 350 total points
ID: 17888935
when you use that Drag and Drop way it automatically creates a few objects in the form which can be seen at the bottom of the form in the visual designer view. typically they will be a Dataset, a BindingSource and a BindingNavigator. you will need to get familiarized with the newer terms, as Dataset replaces your notion of Recordset. i would recommend you buy any ADO.NET book for beginners in any case, or read maybe
for a brief introduction to new terminology.

what exactly do you want to do, what do you mean you want to query the recordset. what type of query, etc. in the drag and drop case there is an automatic binding of the textboxes to the data source so if you compile and run the project as is, it will work. if you need any more different questions you should probably have to be more specific about a problem, and post them separately.

hope this helps

Author Comment

ID: 17893402
Hi newyuppie,

This question explains more about the querying

I will need to look at this and break it up futher into more questions and award points, but above is one question.

Author Comment

ID: 17893431
Also if you guys have any ideas how to break off more questions.
LVL 13

Expert Comment

ID: 17900337
theres no way to break a question in 2 automatically. you would need to post a new question and if you decide to delete any previous questions you need to ask support to do that

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity and creating a class 5 29
VB.NET String Settings and Temp Folder Question 3 68
Get month and date in a format 4 44
Filtering a datagrid view 8 34
Introduction When many people think of the WebBrowser ( control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question