Advertisement

05.25.2008 at 01:34PM PDT, ID: 23431575
[x]
Attachment Details

Datasets and data relations in relation to sql

Asked by mark_norge in .Net Editors & IDEs, MS SQL Server, Visual Basic Programming

Tags: visual basic .net, sql

Hi Experts,
As a beginner I am developing my first application in visual basic. The data is stored in a sql database.

Normally different types of relations, triggers, etc are set up in the database. However when using datasets in visual basic, data is temporarily "disconnect" from the database. Are the relations, triggers, etc from the database in any way used by the datasets? Or do the same relations have to be set up in the dataset, or must the programmer just read and write data on every change to make sure the data does not compromise the relations in the database?

Up to now I have used the database as a simple storage medium for data and not set up any relation in the database. However this is a timely solution to make the learning curve not to steep. Already it is clear to see that relations between tables would skip a lot of programming that is now needed to keep data integrity.

Based on above what is the right approach? Do relations have to be set up in sql, in the dataset or both?

I know the question is kind of general, but I hope someone can give me an answer or link to point me in the right direction, MBStart Free Trial
[+][-]05.25.2008 at 04:01PM PDT, ID: 21643896

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.25.2008 at 11:44PM PDT, ID: 21644981

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.26.2008 at 06:47AM PDT, ID: 21646425

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.26.2008 at 07:16AM PDT, ID: 21646547

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.26.2008 at 07:50AM PDT, ID: 21646682

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Editors & IDEs, MS SQL Server, Visual Basic Programming
Tags: visual basic .net, sql
Sign Up Now!
Solution Provided By: gardavis
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628