Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Database and Reporting > Data Access

Thread Tools Display Modes
Old 04-24-2012, 09:35 AM
HardyRexion HardyRexion is offline
Join Date: Aug 2006
Location: Manchester UK
Posts: 13
Default Data Access

Hello, Hoping you could help someone with VB6 ADO experience trying to make the transition to VB2010.

Is there a definitive book on connecting to a SQL server and manipulating the data, especially retrieval, editing and updating of records.

I was used to using MS Access but have decided I should learn the big boy's database. I have a small sample project I have finally managed to get working but there seems to be so many ways to do the same thing, I would just like to learn the way that is most intuitive when reading the code.

So any pointers on the best reading for this would be greatly appreciated.

Thank you
Reply With Quote
Old 04-24-2012, 04:04 PM
Gruff's Avatar
Gruff Gruff is offline
Bald Mountain Survivor

Retired Moderator
* Expert *
Join Date: Aug 2003
Location: Oregon, USA
Posts: 6,440

Choice is a good thing.

I am not a fan of components tightly coupled to a database.

I like to use SQL queries for input and output in a loosely coupled database.
For some things it is more appropriate.

I also like to use a datagridview linked to a dataview which allows cells to be edited. Running update on the dataview updates the database.

I wouldn't fall in love with any particular tool.

As far a readability I would compartmentalize your code by creating your own classes as much as possible.


Re books.
I do not own any database books other than the "SQL for dummies" which is about the SQL language and not a database tutorial so I cannot truthfully recommend a great one.

I notice that Amazon has one entitled
"Visual Basic .NET Database Programming for Dummies"
That has a chapter on migrating from ADO to ADO.NET.
Despite the Title I find the "Dummies" Books to be very useful for getting started with new programming topics and as a future reference.

if you google. "VB.NET SQL database tutorial" You will get a number of hits.
I guess that is where I would start scanning for something useful.
Burn the land and boil the sea
You can't take the sky from me


Last edited by Gruff; 04-25-2012 at 09:42 AM.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..