| | |
VB 2008 & Database Issues
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2009
Posts: 2
Reputation:
Solved Threads: 0
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!
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?
hahaThanks in advance everyone!
•
•
Join Date: Jun 2009
Posts: 240
Reputation:
Solved Threads: 43
0
#2 23 Days Ago
check out these train videos.
http://msdn.microsoft.com/en-us/vbas...rmsoverdata_08
Beth is explaining very well how to do that
http://msdn.microsoft.com/en-us/vbas...rmsoverdata_08
Beth is explaining very well how to do that
•
•
Join Date: Nov 2009
Posts: 2
Reputation:
Solved Threads: 0
0
#4 19 Days Ago
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
I appreciate your quick response, and useful to boot! haha
![]() |
Similar Threads
- php: form to database issues (PHP)
- VB.NET 2008 - What's the best database connection? (VB.NET)
- struggling with visual studio 2008 & asp.net, inserting info into a form & submitting (ASP.NET)
- Visual Studio 2008 Form Designer Issues (VB.NET)
- VB6 & database (Visual Basic 4 / 5 / 6)
- Database class use (PHP)
- Dream Team Website & Database (Database Design)
- Web Form & Database!!! PLEASE (MS SQL)
Other Threads in the VB.NET Forum
- Previous Thread: Salary Review project
- Next Thread: Save And retrieve Picture in Access Database In Vb.net
| Thread Tools | Search this Thread |
.net 3.5 2008 access acquisition ado.net age amazon amd array asp asp.net aspandmssqlserver2005 avatar backup basic bigbrother bluegene c# c++ check chips code codec computing connection daniweb data database databaseconnection datagridview dataset development dos economy energy enterprise enterprisesoftware form gui hacking hardware ibm ibm.news idc images ingres intelibm java javascript.cms label linux manufacturing map medicine memory microsoft mvc2 mysql net news open openoffice opensource operatingsystem oracle pc php prime ps3 query recession record redhat russia search security server servlet sql sqlite sqlserver studio sun supercomputer supercomputing survey technology trends ubuntu uk update vb vb.net vb6 video visual visualbasic working x86






