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

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ส.ค. 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
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 160

  • @CodeAndCourse
    @CodeAndCourse  4 ปีที่แล้ว +2

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

  • @CodeAndCourse
    @CodeAndCourse  6 ปีที่แล้ว +10

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

    • @maliknafees8173
      @maliknafees8173 5 ปีที่แล้ว

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

  • @CiscoSaeed
    @CiscoSaeed 5 ปีที่แล้ว +2

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

  • @Nikhil_Kumar_067
    @Nikhil_Kumar_067 4 ปีที่แล้ว +1

    Made my concepts crystal clear. Thanks

  • @elisha271174
    @elisha271174 6 ปีที่แล้ว +3

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

  • @rangithsing
    @rangithsing 6 ปีที่แล้ว +1

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

  • @ryanvictorotieno4231
    @ryanvictorotieno4231 6 ปีที่แล้ว +1

    Such an educator. *thumbs up

  • @joemaridimalaluan7643
    @joemaridimalaluan7643 2 ปีที่แล้ว

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

  • @raogaru306
    @raogaru306 5 ปีที่แล้ว +1

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

  • @empostman9409
    @empostman9409 5 ปีที่แล้ว +1

    Great presentation. Thank You.

  • @muhammadhisyamzayd5816
    @muhammadhisyamzayd5816 6 ปีที่แล้ว +1

    super duper many thanks!!

  • @bashirbhoraniya4359
    @bashirbhoraniya4359 5 ปีที่แล้ว +1

    Awesome learning i really impressed😍

  • @tbc7062
    @tbc7062 5 ปีที่แล้ว +1

    Thanks, really helped

  • @emeryebio4283
    @emeryebio4283 4 ปีที่แล้ว

    Thank You! it help a lot...

  • @Willo_911
    @Willo_911 7 ปีที่แล้ว +2

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

    • @CodeAndCourse
      @CodeAndCourse  7 ปีที่แล้ว +3

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

  • @prathapgowda6981
    @prathapgowda6981 6 ปีที่แล้ว +1

    Nice I understand well

  • @alijahujevic5916
    @alijahujevic5916 4 ปีที่แล้ว

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

  • @empostman9409
    @empostman9409 5 ปีที่แล้ว +1

    Thank you so much.

  • @engineeringinspectionsirel1385
    @engineeringinspectionsirel1385 3 ปีที่แล้ว +1

    Excellent, thanks.

  • @robertd7613
    @robertd7613 3 ปีที่แล้ว

    incredible and very helpful.

  • @namariq3177
    @namariq3177 5 ปีที่แล้ว +1

    Thank you so much 👍👍

  • @Ischim0n
    @Ischim0n 7 ปีที่แล้ว +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  7 ปีที่แล้ว

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

    • @irtizatechhere632
      @irtizatechhere632 ปีที่แล้ว

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

  • @HabibFx
    @HabibFx 6 ชั่วโมงที่ผ่านมา

    wow such an eye opening Content

  • @raiexrodrik4023
    @raiexrodrik4023 5 ปีที่แล้ว +1

    Finally some useful tutorial with sound and new visual studio TT_TT

  • @ghalibsonu7202
    @ghalibsonu7202 5 ปีที่แล้ว

    thank you so much sir
    very simple this method

  • @spymancrackers
    @spymancrackers 6 ปีที่แล้ว +1

    thx my friend :)

  • @bryanhdez7394
    @bryanhdez7394 4 ปีที่แล้ว

    It was really helpful

  • @FaithMoyo-rf7fs
    @FaithMoyo-rf7fs ปีที่แล้ว +1

    Very helpful

  • @mohitkr080886
    @mohitkr080886 4 ปีที่แล้ว

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

    • @HabibFx
      @HabibFx 6 ชั่วโมงที่ผ่านมา

      Did you use this as your project?

  • @manishkumarpingolia393
    @manishkumarpingolia393 5 ปีที่แล้ว +1

    Very nice bro...

  • @abdul-razak9981
    @abdul-razak9981 6 ปีที่แล้ว +1

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

  • @ObisterTechnicals
    @ObisterTechnicals 4 หลายเดือนก่อน +1

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

  • @robbiepascua
    @robbiepascua 4 ปีที่แล้ว

    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?

  • @stephenadonis3953
    @stephenadonis3953 6 ปีที่แล้ว +2

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

  • @lakewameneshewa2755
    @lakewameneshewa2755 5 ปีที่แล้ว

    very nice i understand

  • @zwferba8757
    @zwferba8757 4 ปีที่แล้ว

    thank you very useful

  • @janmichaelvitto5475
    @janmichaelvitto5475 4 ปีที่แล้ว

    Thank you for tutorial

  • @nepheo5243
    @nepheo5243 6 ปีที่แล้ว

    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!

  • @khalidramadhan8687
    @khalidramadhan8687 4 ปีที่แล้ว

    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 6 ปีที่แล้ว

    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.

  • @mohammedsaeeddowelbite386
    @mohammedsaeeddowelbite386 4 ปีที่แล้ว

    thank you for good explain

  • @ThatsDeXes
    @ThatsDeXes 7 ปีที่แล้ว +1

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

  • @edartohsan9579
    @edartohsan9579 6 ปีที่แล้ว

    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.

  • @bskhan22
    @bskhan22 4 ปีที่แล้ว +1

    Is data going inside the database or not??

  • @famillebourlet4450
    @famillebourlet4450 3 ปีที่แล้ว

    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 ?

  • @kareng4120
    @kareng4120 6 ปีที่แล้ว +1

    Woow nice

  • @cricboyz7743
    @cricboyz7743 4 ปีที่แล้ว

    Love you

  • @mauriciolopez9652
    @mauriciolopez9652 6 ปีที่แล้ว

    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.

  • @kholofelomalepe6685
    @kholofelomalepe6685 5 ปีที่แล้ว

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

  • @madhubj5230
    @madhubj5230 7 ปีที่แล้ว +1

    Excellent!!!
    Upload more videos...

    • @CodeAndCourse
      @CodeAndCourse  7 ปีที่แล้ว

      Thanks and What video you want from my channel?

  • @geraldoliva3515
    @geraldoliva3515 3 ปีที่แล้ว

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

  • @justinace650
    @justinace650 5 ปีที่แล้ว

    what version of MS ACCESS you used mister?

  • @shivatiwari1127
    @shivatiwari1127 4 ปีที่แล้ว

    If we want validations in each field then?

  • @ahlen7575
    @ahlen7575 3 ปีที่แล้ว

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

  • @jasmine1588
    @jasmine1588 5 ปีที่แล้ว +1

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

  • @shivanijagtap8133
    @shivanijagtap8133 3 ปีที่แล้ว +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

  • @chauly793
    @chauly793 ปีที่แล้ว

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

  • @violeta4558
    @violeta4558 6 ปีที่แล้ว +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  6 ปีที่แล้ว +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 4 ปีที่แล้ว

      @@CodeAndCourse the same problem

  • @habibul143
    @habibul143 6 ปีที่แล้ว +1

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

  • @kritikagupta9667
    @kritikagupta9667 5 ปีที่แล้ว

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

  • @srinagarkakaznagar5438
    @srinagarkakaznagar5438 6 ปีที่แล้ว +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  6 ปีที่แล้ว

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

  • @wenfrededradan4071
    @wenfrededradan4071 6 ปีที่แล้ว

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

  • @thejavierjking
    @thejavierjking 6 ปีที่แล้ว

    Like this your friend, I like the video

    • @thejavierjking
      @thejavierjking 6 ปีที่แล้ว

      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 5 ปีที่แล้ว

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

  • @saugatjarif8272
    @saugatjarif8272 7 ปีที่แล้ว +1

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

  • @vasilimertzani
    @vasilimertzani 6 ปีที่แล้ว +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  6 ปีที่แล้ว

      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 6 ปีที่แล้ว

      i found it.My mistake

    • @vasilimertzani
      @vasilimertzani 6 ปีที่แล้ว

      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.

  • @bongominpeter4662
    @bongominpeter4662 4 ปีที่แล้ว

    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 5 ปีที่แล้ว

    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

  • @ellenmutimhodyo4184
    @ellenmutimhodyo4184 5 ปีที่แล้ว

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

  • @snehakadam3204
    @snehakadam3204 6 ปีที่แล้ว

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

  • @thejavierjking
    @thejavierjking 6 ปีที่แล้ว

    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

  • @brahimkhalil3027
    @brahimkhalil3027 6 ปีที่แล้ว +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  6 ปีที่แล้ว

      Please give more details what you want to say

  • @educationhub8241
    @educationhub8241 5 ปีที่แล้ว

    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

  • @icewind21
    @icewind21 6 ปีที่แล้ว

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

    • @kareng4120
      @kareng4120 6 ปีที่แล้ว

      Wendell Millan
      Yah it can tried t

  • @pintumaurya3661
    @pintumaurya3661 5 ปีที่แล้ว

    Hii
    Data insert successful but access database base not show data

  • @marymaria1692
    @marymaria1692 ปีที่แล้ว

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

  • @oliverdelafuente8260
    @oliverdelafuente8260 4 ปีที่แล้ว

    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

  • @pinkcodermedia8374
    @pinkcodermedia8374 6 ปีที่แล้ว

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

  • @gabrielavila3114
    @gabrielavila3114 5 ปีที่แล้ว

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

  • @francismichael8378
    @francismichael8378 6 ปีที่แล้ว +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

    • @CodeAndCourse
      @CodeAndCourse  6 ปีที่แล้ว

      You can do that using query.

  • @yashavanthachar8269
    @yashavanthachar8269 2 ปีที่แล้ว

    👍

  • @ianart7
    @ianart7 5 ปีที่แล้ว +1

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

  • @charithrajamanthri9483
    @charithrajamanthri9483 5 ปีที่แล้ว

    what is StudentTableBindingSource?

  • @hasanrazanaqvi6927
    @hasanrazanaqvi6927 6 ปีที่แล้ว +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  6 ปีที่แล้ว

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

    • @hasanrazanaqvi6927
      @hasanrazanaqvi6927 6 ปีที่แล้ว

      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  6 ปีที่แล้ว

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

    • @hasanrazanaqvi6927
      @hasanrazanaqvi6927 6 ปีที่แล้ว

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

    • @CodeAndCourse
      @CodeAndCourse  6 ปีที่แล้ว

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

  • @jaymarkgregorio4517
    @jaymarkgregorio4517 5 ปีที่แล้ว +1

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

    • @CodeAndCourse
      @CodeAndCourse  5 ปีที่แล้ว

      thank you for your suggestion

  • @poonamagarwal8229
    @poonamagarwal8229 6 ปีที่แล้ว

    Upper side Button package not comming sir please help me

  • @rayshudu1308
    @rayshudu1308 2 ปีที่แล้ว

    I can't find details on my database on table

  • @gayjunealla8114
    @gayjunealla8114 4 ปีที่แล้ว

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

  • @Pramit2000
    @Pramit2000 5 ปีที่แล้ว

    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

  • @_PS_creaters
    @_PS_creaters 5 ปีที่แล้ว

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

  • @raghavendraari7797
    @raghavendraari7797 3 ปีที่แล้ว

    Upload database of finance management of customers

  • @brahimkhalil3027
    @brahimkhalil3027 6 ปีที่แล้ว +1

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

    • @CodeAndCourse
      @CodeAndCourse  6 ปีที่แล้ว

      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 6 ปีที่แล้ว

      write what

    • @CodeAndCourse
      @CodeAndCourse  6 ปีที่แล้ว

      Past the above code

  • @fernandomacotto1997
    @fernandomacotto1997 6 ปีที่แล้ว

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

  • @dicla9370
    @dicla9370 7 ปีที่แล้ว +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  7 ปีที่แล้ว

      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 7 ปีที่แล้ว +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  7 ปีที่แล้ว

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

    • @CodeAndCourse
      @CodeAndCourse  7 ปีที่แล้ว

      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 7 ปีที่แล้ว

      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

  • @VickyKumar-hz3rl
    @VickyKumar-hz3rl 6 ปีที่แล้ว

    thanks please make the report viewer

  • @chanakyakr1165
    @chanakyakr1165 5 ปีที่แล้ว +1

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

    • @CodeAndCourse
      @CodeAndCourse  5 ปีที่แล้ว

      this is not a registering form

    • @chanakyakr1165
      @chanakyakr1165 5 ปีที่แล้ว

      @@CodeAndCourse ohk ..!! Have you made a video on it ...!! If yes can u link it in comments

    • @CodeAndCourse
      @CodeAndCourse  5 ปีที่แล้ว +1

      sorry, i haven't

    • @chanakyakr1165
      @chanakyakr1165 5 ปีที่แล้ว +1

      @@CodeAndCourse no problem thanks

  • @FMFT
    @FMFT ปีที่แล้ว

    Download link?

  • @rajeshkaley123
    @rajeshkaley123 3 ปีที่แล้ว

    An error occurred while performing the drop

  • @therandomking1265
    @therandomking1265 5 ปีที่แล้ว

    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.

  • @educationhub8241
    @educationhub8241 5 ปีที่แล้ว

    Complete video of visual studio plzzzzz

    • @CodeAndCourse
      @CodeAndCourse  5 ปีที่แล้ว

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