Solved

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
8
156 Views
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

0
Comment
Question by:PC_tech22
  • 4
  • 3
8 Comments
 
LVL 13

Accepted Solution

by:
newyuppie earned 350 total points
ID: 17886999
you can download and examine several samples from microsoft specifically for ADO.NET
http://msdn.microsoft.com/data/prev/downloads/samples/
0
 

Author Comment

by:PC_tech22
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
0
 
LVL 12

Assisted Solution

by:sandip132
sandip132 earned 150 total points
ID: 17887419
0
 

Author Comment

by:PC_tech22
ID: 17888032
I used the way of draging textboxes from the Data Source Viewer. Now how do I query the recordset that is Generated.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 13

Assisted Solution

by:newyuppie
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
http://www.developer.com/net/vb/article.php/10926_1540311_1
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
NY
0
 

Author Comment

by:PC_tech22
ID: 17893402
Hi newyuppie,


This question explains more about the querying
http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_22051300.html


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

Author Comment

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

Expert Comment

by:newyuppie
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
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now