How to Connect Access Database to VB.NET - Visual Studio 2015

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • Create a Visual Basic application (vb.net), Connecting Visual Studio to MS Access Database, Add a new record, Save and Delete record.
    0:00 - Start
    0:32 - Database on MS Access
    2:20 - Create Project
    11:38 - Correct it via description
    StudentTableBlindingSource.RemoveCurrent()
    TableAdapterManager.UpdateAll(StudentDataDataSet)
    MsgBox("Current Record Deleted")
    12:59 - Connecting Database
    Donate here: www.paypal.me/nawarajshah
    Twitter : / codeandcoins
    Google+ : goo.gl/7vjhrp
    Facebook : / codeandcoins
    Blog : CodeAndCoins.blogspot.com
    Share this Video and Subscribe to my channel
    #CodeAndCoins #VisualBasic #AccessDatabase
  • Jak na to + styl

Komentáře • 158

  • @CodeAndCourse
    @CodeAndCourse  Před 4 lety +2

    Ask your question in our new forum forum.codeandcourse.com/viewforum.php?f=4

  • @mohitkr080886
    @mohitkr080886 Před 4 lety

    I'm very happy with your Tutorial. It helped me with my college project. Thank you so much for uploading this video.

  • @CiscoSaeed
    @CiscoSaeed Před 5 lety +2

    The nicest video I have watched it and guided me straight..many thanks

  • @elisha271174
    @elisha271174 Před 6 lety +3

    One of the best BROTHER ...... Well Done

  • @rangithsing
    @rangithsing Před 6 lety +1

    Great Job Brother... Really Useful and little advanced for beginers... Good Really Good.

  • @Nikhil_Kumar_067
    @Nikhil_Kumar_067 Před 4 lety +1

    Made my concepts crystal clear. Thanks

  • @CodeAndCourse
    @CodeAndCourse  Před 6 lety +10

    Correct in 11:26
    StudentTableBlindingSource.RemoveCurrent()
    TableAdapterManager.UpdateAll(StudentDataDataSet)
    MsgBox("Current Record Deleted")

    • @maliknafees8173
      @maliknafees8173 Před 5 lety

      Code And Coins hi can I do same if my database is in sql server management studio instead of ms access?

  • @ryanvictorotieno4231
    @ryanvictorotieno4231 Před 6 lety +1

    Such an educator. *thumbs up

  • @raogaru306
    @raogaru306 Před 5 lety +1

    Keep posting new videos .Dont stop. God bless you.

  • @Ischim0n
    @Ischim0n Před 7 lety +1

    Thank you so much! Finally i found a tutorial that actually helped me. Keep up the good work, thumbs up from me =)

    • @CodeAndCourse
      @CodeAndCourse  Před 7 lety

      Your help encourage us to make more content like that. Please share this video to your friend.

    • @irtizatechhere632
      @irtizatechhere632 Před rokem

      @@CodeAndCourse Bro How To Make It's SetUp Please Guide Me

  • @bashirbhoraniya4359
    @bashirbhoraniya4359 Před 5 lety +1

    Awesome learning i really impressed😍

  • @Willo_911
    @Willo_911 Před 7 lety +2

    Thanks bud. Your accent is difficult to understand but your lesson content is superb. Cheers!

    • @CodeAndCourse
      @CodeAndCourse  Před 7 lety +3

      Thank you friend. I am from Nepal. I will try to improve my language.

  • @empostman9409
    @empostman9409 Před 5 lety +1

    Great presentation. Thank You.

  • @joemaridimalaluan7643
    @joemaridimalaluan7643 Před 2 lety

    Thank you for the Very detailed tutorial on how to connect to MS ACCESS 🥰

  • @raiexrodrik4023
    @raiexrodrik4023 Před 5 lety +1

    Finally some useful tutorial with sound and new visual studio TT_TT

  • @tbc7062
    @tbc7062 Před 5 lety +1

    Thanks, really helped

  • @nepheo5243
    @nepheo5243 Před 6 lety

    Your accent is so informal! XD, it's like that so called Ugandan Knuckles dead meme. By the way, jokes aside, thank you for the help!

  • @muhammadhisyamzayd5816
    @muhammadhisyamzayd5816 Před 6 lety +1

    super duper many thanks!!

  • @emeryebio4283
    @emeryebio4283 Před 4 lety

    Thank You! it help a lot...

  • @prathapgowda6981
    @prathapgowda6981 Před 6 lety +1

    Nice I understand well

  • @stephenadonis3953
    @stephenadonis3953 Před 6 lety +2

    man i love you so much rught now. seen all this videos without speech and it was annoying. thanks for talking

  • @abdul-razak9981
    @abdul-razak9981 Před 6 lety +1

    I really love this video. It has helped me a lot. Thank you so much.

  • @robertd7613
    @robertd7613 Před 3 lety

    incredible and very helpful.

  • @empostman9409
    @empostman9409 Před 5 lety +1

    Thank you so much.

  • @ghalibsonu7202
    @ghalibsonu7202 Před 5 lety

    thank you so much sir
    very simple this method

  • @namariq3177
    @namariq3177 Před 5 lety +1

    Thank you so much 👍👍

  • @ObisterTechnicals
    @ObisterTechnicals Před 4 měsíci +1

    Your video is good and powerful it help me a lot , and please a make update button if you can.🙏

  • @spymancrackers
    @spymancrackers Před 6 lety +1

    thx my friend :)

  • @manishkumarpingolia393
    @manishkumarpingolia393 Před 5 lety +1

    Very nice bro...

  • @bryanhdez7394
    @bryanhdez7394 Před 4 lety

    It was really helpful

  • @alijahujevic5916
    @alijahujevic5916 Před 4 lety

    Thanks for this!!!!!!!!!!!

  • @madhubj5230
    @madhubj5230 Před 7 lety +1

    Excellent!!!
    Upload more videos...

    • @CodeAndCourse
      @CodeAndCourse  Před 7 lety

      Thanks and What video you want from my channel?

  • @engineeringinspectionsirel1385

    Excellent, thanks.

  • @janmichaelvitto5475
    @janmichaelvitto5475 Před 4 lety

    Thank you for tutorial

  • @mohammedsaeeddowelbite386

    thank you for good explain

  • @robbiepascua
    @robbiepascua Před 4 lety

    What if you need to update your datasource? For example, you forgot to add another field in access database. So you add it on the database. Now, since you have already connected that database to vb.net net, how will you be able to reflect the added field into the previously connected datasource?

  • @kholofelomalepe6685
    @kholofelomalepe6685 Před 5 lety

    Thank you this was very helpful since I'm currently busy with an assignment with similar questions

  • @zwferba8757
    @zwferba8757 Před 4 lety

    thank you very useful

  • @FaithMoyo-rf7fs
    @FaithMoyo-rf7fs Před rokem +1

    Very helpful

  • @khalidramadhan8687
    @khalidramadhan8687 Před 4 lety

    hi sir , when i make setup for project include empty database access and fill it from data grid view vb.net 2010 and when install on another computer .display massage that cannot know the path of database
    ....thanks with best regard

  • @violeta4558
    @violeta4558 Před 6 lety

    When I have completed an application into Visual Studio, how can I make an executable version that I can later give to someone who can use it on his computer.

  • @lakewameneshewa2755
    @lakewameneshewa2755 Před 5 lety

    very nice i understand

  • @edartohsan9579
    @edartohsan9579 Před 6 lety

    I answered yes at the connection, so the data will be saved on bin-debug. But then my problem is, whenever i open the visual basic, the data that been saved on ms access have gone. what should i do.

  • @famillebourlet4450
    @famillebourlet4450 Před 3 lety

    Thanks for your video. I installed Visual Studio 2019 but when I try to add a new datasource to my project the button is deactivated and I don't know what I have to do to receive it active and continue as you do it in your tutorial. Can you help me ?

  • @ThatsDeXes
    @ThatsDeXes Před 7 lety +1

    can other people that have my application able to login..for instance?

  • @kareng4120
    @kareng4120 Před 6 lety +1

    Woow nice

  • @srinagarkakaznagar5438
    @srinagarkakaznagar5438 Před 6 lety +1

    very good sir i appreciate to you that very good explanation can you send some more videos on database vb.net & access 2007

    • @CodeAndCourse
      @CodeAndCourse  Před 6 lety

      Thank you for your support. What video you want from our channel.

  • @habibul143
    @habibul143 Před 6 lety +1

    Nice vedio bro.. I need to make application for my database please reply me

  • @thejavierjking
    @thejavierjking Před 6 lety

    Like this your friend, I like the video

    • @thejavierjking
      @thejavierjking Před 6 lety

      I make a macro for a restaurant is for the computer class, I have to put supplier, client, phone, address, customer registration number and an invoice

  • @mauriciolopez9652
    @mauriciolopez9652 Před 6 lety

    I keep getting this Error when I try to add new data origins, I try to select the data objects I mean The table but it shows this error "Could not retrieve schema information for database object " then I click accept and try to drag the database but it does not show anything but a Grey screen with nothing in it. Can you help me? I am using acces 2010 and Vnet 2010. Greetings.

  • @bskhan22
    @bskhan22 Před 4 lety +1

    Is data going inside the database or not??

  • @saugatjarif8272
    @saugatjarif8272 Před 7 lety +1

    Hey I have a tip make your voice clear by audacity its an open source software this will help you a lot

  • @geraldoliva3515
    @geraldoliva3515 Před 3 lety

    @Code And Coins ,, textboxes and datagridview doesn't show any content from the access database. how to fix this? pls reply. Thanks

  • @shivanijagtap8133
    @shivanijagtap8133 Před 3 lety +1

    Sir your videos are great n helpful but I got one error when I add new data source it added but studentTable is not retrieved

  • @justinace650
    @justinace650 Před 5 lety

    what version of MS ACCESS you used mister?

  • @jasmine1588
    @jasmine1588 Před 5 lety +1

    How to create multiple vb form with database and how to pass data between them

  • @shivatiwari1127
    @shivatiwari1127 Před 4 lety

    If we want validations in each field then?

  • @ahlen7575
    @ahlen7575 Před 3 lety

    If add new data in VB.net, that will auto record to Access database right?

  • @violeta4558
    @violeta4558 Před 6 lety +2

    Really useful and little advanced for beginers... But , When I tried to connect to the database I got a pig: "The Microsoft.ACE.OLEDB.12.0" provaider is not registered on the local machine! What should I do???

    • @CodeAndCourse
      @CodeAndCourse  Před 6 lety +1

      This may be helpful for you stackoverflow.com/questions/6649363/microsoft-ace-oledb-12-0-provider-is-not-registered-on-the-local-machine

    • @safaatantaouielaraqi7527
      @safaatantaouielaraqi7527 Před 4 lety

      @@CodeAndCourse the same problem

  • @bongominpeter4662
    @bongominpeter4662 Před 4 lety

    can u please load a video for how to delete add and save data in the MySQL database thank you anywhere thanks for that wonderful tutorial

  • @educationhub8241
    @educationhub8241 Před 5 lety

    Plzzz upload Video full detail about SEO as well as online exam and server related to exam and which types of software used by exam controller how all these types of exam conducted plzzz detail

  • @brahimkhalil3027
    @brahimkhalil3027 Před 6 lety +1

    Thanks for the explanation
    From your left, how can you connect a combo box with a table
    In the list of male and female

    • @CodeAndCourse
      @CodeAndCourse  Před 6 lety

      Please give more details what you want to say

  • @cricboyz7743
    @cricboyz7743 Před 4 lety

    Love you

  • @ianart7
    @ianart7 Před 5 lety +1

    nice tutorial. but how if i will connecting to the XAMPP MYSQL😂

  • @pinkcodermedia8374
    @pinkcodermedia8374 Před 6 lety

    I wanted the oledb connection. Can u please make a vodeo in detail

  • @yashavanthachar8269
    @yashavanthachar8269 Před 2 lety

    👍

  • @vasilimertzani
    @vasilimertzani Před 6 lety +1

    great project.I have a problem.While i m running the program i can add new records and the counter metering the records.2.3. etc.When i close and run it again i have lost all the records i made before.What i have do wrong?

    • @CodeAndCourse
      @CodeAndCourse  Před 6 lety

      When you run a program through visual studio then it will erase all the data in a database which you have saved. But you open that program from debug folder then you will not get this problem.

    • @vasilimertzani
      @vasilimertzani Před 6 lety

      i found it.My mistake

    • @vasilimertzani
      @vasilimertzani Před 6 lety

      my mistake waw at 3:38 i was choosing yes so when i was running the project the database copying in bin/debug file of the project.

  • @kritikagupta9667
    @kritikagupta9667 Před 5 lety

    I'm having trouble in delete button..I have written exact same code but it is not debugging

  • @wenfrededradan4071
    @wenfrededradan4071 Před 6 lety

    i have an error....."unable to add connection, the given key was not present in the dictionary"...pls help me

  • @thejavierjking
    @thejavierjking Před 6 lety

    I make a macro for a restaurant is for the computer class, I have to put supplier, client, phone, address, customer registration number and an invoice

  • @namariq3177
    @namariq3177 Před 5 lety

    There is an error ...when i stop running and make it run again .. i lose the data that i insert in the previous run

  • @chauly793
    @chauly793 Před rokem

    The new record cannot be saved into ms access after saving data. what is the error?

  • @francismichael8378
    @francismichael8378 Před 6 lety +1

    Good work sir,I have record in a table up to 50, I want to replicate the same record for another month how will I do it such that every month once I click the bottom it automatically process the record

  • @snehakadam3204
    @snehakadam3204 Před 5 lety

    I did the whole connectivity bt the data entered in vb.net while running the code is not getting Stored in access file😕

  • @jaymarkgregorio4517
    @jaymarkgregorio4517 Před 5 lety +1

    Can you plss make a login history?? and how does the time and datepicker works and save in access. Advance Thanks

  • @icewind21
    @icewind21 Před 6 lety

    Can this code be used for Ms access 2007 and up? Why does it have to be converted first? Thanks

    • @kareng4120
      @kareng4120 Před 6 lety

      Wendell Millan
      Yah it can tried t

  • @oliverdelafuente8260
    @oliverdelafuente8260 Před 4 lety

    this kind of method can't save to the database ms access because it doesnt have oldbconnection or mysqlconnection this was just all about codes without connection to the database

  • @ellenmutimhodyo4184
    @ellenmutimhodyo4184 Před 5 lety

    i am failing to use the Save code given. it is not saving to my table.

  • @raghavendraari7797
    @raghavendraari7797 Před 3 lety

    Upload database of finance management of customers

  • @hasanrazanaqvi6927
    @hasanrazanaqvi6927 Před 6 lety +1

    for save data code does not work
    try
    (tableadaptermanager.updeall) when i types system tells name tableadaptermanager is not decleared. plz slove it

    • @CodeAndCourse
      @CodeAndCourse  Před 6 lety

      Please share your problem on stackoverflow.com
      you will get a better solution on their

    • @hasanrazanaqvi6927
      @hasanrazanaqvi6927 Před 6 lety

      mr.developer. dont waste our time if u have sloution then tell what is this first i sign up on your website its just wastge of time

    • @CodeAndCourse
      @CodeAndCourse  Před 6 lety

      Can you please give me answer through this photo ibb.co/h5tuEb

    • @hasanrazanaqvi6927
      @hasanrazanaqvi6927 Před 6 lety

      i have no tableadaptermanager dude... what can i do now?

    • @CodeAndCourse
      @CodeAndCourse  Před 6 lety

      Re-watch this video and do this again from the begin.

  • @marymaria1692
    @marymaria1692 Před rokem

    why is it not saving in the database? u are not showing whether ur database is adding or deleting records

  • @pintumaurya3661
    @pintumaurya3661 Před 5 lety

    Hii
    Data insert successful but access database base not show data

  • @chanakyakr1165
    @chanakyakr1165 Před 5 lety +1

    after registering , can we use thier name to login in login form

  • @educationhub8241
    @educationhub8241 Před 5 lety

    Complete video of visual studio plzzzzz

    • @CodeAndCourse
      @CodeAndCourse  Před 5 lety

      Do you mean you wanna a video on visual studio's component and how to use them with a visual basic programming language.

  • @dicla9370
    @dicla9370 Před 7 lety +1

    thank you so much..you just saved me...but the delete cide isnt working pliz check and reply soon.i hav to finish my project soon....also a question- if i made this form first and then made a welcome form later,then how can i make the welcome form to appear first when i run...pliz reply soon.

    • @CodeAndCourse
      @CodeAndCourse  Před 7 lety

      For delete button : At first tell me, from where you open your project, is it from visual studio or from debug folder.
      You second question : On the top you will find bundles of tabs, just go to Project > Your_Project_Name Properties > Application > Startup form: then select your welcome form.
      Please recommend our channel with your friends.

    • @dicla9370
      @dicla9370 Před 7 lety +1

      Code And Coins thank you for you speedy reply...for the delete button i can now see the problem..in your code you wrote removecurrent but in the caption you didnt write it..there is a caption mistake pliz correct it..and once again thank you so much...i ll now be able to do finish my project..any can you give the code for displaying the infos by giving only the roll no. using find button

    • @CodeAndCourse
      @CodeAndCourse  Před 7 lety

      Thanks for pointing mistake. It was happen because I just copy this code from SaveBnt button.

    • @CodeAndCourse
      @CodeAndCourse  Před 7 lety

      First create search button, then enter this code.
      Hope it will work
      Dim valToFind As String = RollNoTextBox.Text
      Dim pos As Integer = TableBindingSource.Find("RollNo", valToFind)
      TableBindingSource.Position = pos

    • @dicla9370
      @dicla9370 Před 7 lety

      Code And Coins this code doent work..when i type in 5 in the textbix for roll no...it says "column rollno is constrained to be unique.value '5' is already present"... pliz help..if i can just get this right my project is almost complete

  • @educationhub8241
    @educationhub8241 Před 5 lety

    How to make quiz programe using 4 radio btn and over 20 questions use access database and connect database question and use in programme and scoring and next and previous btn in vb.net plzzzz detail

  • @brahimkhalil3027
    @brahimkhalil3027 Před 6 lety +1

    I want to replace the radio Botton with combobox
    I mean how to add combobox in the same format

    • @CodeAndCourse
      @CodeAndCourse  Před 6 lety

      Go to toolbox then drag a combobox on to your form
      and then double click on that combobox then write
      Dim gender as string
      gender = combobox.selecteditem
      select case gender
      case "male"
      GenderTextBox.Text = "Male"
      case "female"
      GenderTextBox.Text = "Female"
      End Select
      Hope this will help

    • @brahimkhalil3027
      @brahimkhalil3027 Před 6 lety

      write what

    • @CodeAndCourse
      @CodeAndCourse  Před 6 lety

      Past the above code

  • @gabrielavila3114
    @gabrielavila3114 Před 5 lety

    good day sir i can get an error in (studentdatadataset) in 10:32
    sir i hope you can help

  • @VickyKumar-hz3rl
    @VickyKumar-hz3rl Před 6 lety

    thanks please make the report viewer

  • @poonamagarwal8229
    @poonamagarwal8229 Před 6 lety

    Upper side Button package not comming sir please help me

  • @rayshudu1308
    @rayshudu1308 Před 2 lety

    I can't find details on my database on table

  • @charithrajamanthri9483

    what is StudentTableBindingSource?

  • @_PS_creaters
    @_PS_creaters Před 5 lety

    System.InvalidOperationException
    HResult=0x80131509
    Message=The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
    Source=System.Data

  • @gayjunealla8114
    @gayjunealla8114 Před 4 lety

    The Data is not appear to my database sir. what should I do
    Thank you

  • @therandomking1265
    @therandomking1265 Před 5 lety

    You messed up at 11:39 because you put the wrong code on the screen that was different from what you were typing at the time.

  • @Pramit2000
    @Pramit2000 Před 5 lety

    Brother why is this code not working
    This code inside GenderTextBox
    If male.Checked = True Then
    GenderTextBox.Text = male.Text
    ElseIf female.Checked = True Then
    GenderTextBox.Text = female.Text
    Else
    GenderTextBox.Text = ""
    End If

  • @nainaschannel6326
    @nainaschannel6326 Před 5 lety +1

    Assalamoalikum
    Sir muja aik salary sheet bana sika dan jaldi se jaldi

    • @CodeAndCourse
      @CodeAndCourse  Před 5 lety +1

      You have to do your project on your own knowledge

  • @fernandomacotto1997
    @fernandomacotto1997 Před 6 lety

    hey Bro how are you?..... men, can you give me the code of your proyect? please

  • @rajeshkaley123
    @rajeshkaley123 Před 3 lety

    An error occurred while performing the drop

  • @vilastonape192
    @vilastonape192 Před 3 lety

    Please help search record