VB 2008 & Database Issues

Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Nov 2009
Posts: 2
Reputation: JonnyHawes is an unknown quantity at this point 
Solved Threads: 0
JonnyHawes JonnyHawes is offline Offline
Newbie Poster

VB 2008 & Database Issues

 
0
  #1
Nov 3rd, 2009
Hello everyone!

So as my first post, I would like to say I am in no way unfamiliar with Visual Basic or programming in general, but this Database integration is giving me quite a problem! lol

So basically I have a VB 2008 Project with a single form that displays a list of guitars that I have in a SQL Database. I made the Database inside of VB with the "Add Data Connection" option. It should also be known I know very little about SQL in general. The information in the columns is placed in its own text box to be displayed.

My problem is I can not figure out how to "Add" or "Delete" Records to/from my Database.

My original plan was to have the Binding Source Navigator work all these functions for me. The Add worked fine (as long as you did not leave any necessary boxes blank), and Delete worked to an extent. I added a simple "Double Check" box that asked if they are sure they wanted to delete the entry. But no matter your answer, it deleted it anyways. So I decided it would be easier to just move the Add and Delete functions to command buttons.

Problem there is, I have no clue on how to even start. And all my "Googling" can not provide me with an adequate answer.

I will be happy to get some Code and Pics of the project to simply what I am saying as soon as my VMWare Fusion is updated and working.

Oh Im a Mac user, did I mention that? haha

Thanks in advance everyone!
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 271
Reputation: GeekByChoiCe is on a distinguished road 
Solved Threads: 56
GeekByChoiCe GeekByChoiCe is offline Offline
Posting Whiz in Training
 
0
  #2
Nov 4th, 2009
check out these train videos.
http://msdn.microsoft.com/en-us/vbas...rmsoverdata_08

Beth is explaining very well how to do that
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 271
Reputation: GeekByChoiCe is on a distinguished road 
Solved Threads: 56
GeekByChoiCe GeekByChoiCe is offline Offline
Posting Whiz in Training
 
0
  #3
Nov 4th, 2009
for some reason it did a double post. sry
Last edited by GeekByChoiCe; Nov 4th, 2009 at 4:04 am.
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 2
Reputation: JonnyHawes is an unknown quantity at this point 
Solved Threads: 0
JonnyHawes JonnyHawes is offline Offline
Newbie Poster
 
0
  #4
Nov 8th, 2009
Thank you very much sir. She helped me work out my Delete function in about 10 minutes. I am still struggling with my Add function but I have not had a whole lot of time to sit down and really play with it all yet since I watched a few of those vids.

I appreciate your quick response, and useful to boot! haha
Reply With Quote Quick reply to this message  
Reply

Tags
2008, basic, database, visual

Message:




Views: 689 | Replies: 3
Thread Tools Search this Thread



Tag cloud for 2008, basic, database, visual
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC