Hi there,
I have played with databases in vb.net a while ago - but to be honest, i didnt really know what i was doing and i was just playing around with it until i got it to work.
I want to learn how to use them properly now as i am sure its a skill i would need in the future.
I have read the sticky on paramaterized queries and that makes sense -sorta.
I have also read the sticky on datasets and data adapters. Does the "flow of data" work this this: You load your program -> It loads the whole database into the dataset -> you do your queries on the dataset -> you send the dataset back the database to sync - correct?
What does ADO.NET stand for?
Is there another way/form of database access in .NET?
With regards to the use of primary/foreign keys - why do you use them and do you have to use extra code to use them properly/get the advantages? I understand the point that it removes the "redundant data" where you have multiple entries of the same thing, but surely you would have to query two tables to get all your data. Or is there a way you can like query once to get everything?
Is there a good tutorial that will start from the begining of setting up and using databases via code, rather than visually via binding controls etc....?
Thanks for any input.
I have played with databases in vb.net a while ago - but to be honest, i didnt really know what i was doing and i was just playing around with it until i got it to work.
I want to learn how to use them properly now as i am sure its a skill i would need in the future.
I have read the sticky on paramaterized queries and that makes sense -sorta.
I have also read the sticky on datasets and data adapters. Does the "flow of data" work this this: You load your program -> It loads the whole database into the dataset -> you do your queries on the dataset -> you send the dataset back the database to sync - correct?
What does ADO.NET stand for?
Is there another way/form of database access in .NET?
With regards to the use of primary/foreign keys - why do you use them and do you have to use extra code to use them properly/get the advantages? I understand the point that it removes the "redundant data" where you have multiple entries of the same thing, but surely you would have to query two tables to get all your data. Or is there a way you can like query once to get everything?
Is there a good tutorial that will start from the begining of setting up and using databases via code, rather than visually via binding controls etc....?
Thanks for any input.
Last edited: