C# And Ms Access Database Tutorial #3 - How To Add Ms Access Database To Visual Studio 2010 (.accdb file)
For More Info Visit - https://bit.ly/2No5LXF
For Full Article visit - https://bit.ly/2t6IV05
How To Add Ms Access Database To Visual Studio 2010 (.accdb file)
This Tutorial Shows How To Add Microsoft Access Database(.accdb file) To Visual Studio 2010.
If you don't have a project, First Create it.
In This case am creating c# windows forms application.
Open Visual Studio 2010. Or any other version.
Go To File menu.
Then new.
Choose Project.
Choose C#.
Under C# Choose Windows.
On the next pane choose Windows forms application.
Give Your Project a Name.
Choose a location in your computer where you want to save the project. Or leave the default location selected.
Then Click Okay.
Set Windows Start Position to CenterScreen. This Enables your windows application to start in the middle of the screen.
Then To add database to visual studio 2010 follow these steps :
On tools menu, Select Connect To Database.
In data source section "Microsoft Access Database File (OLE DB)" is selected by default.
Browse the file name. This is the location where your database is stored. i.e. - (C:\Users\Authentic\Documents\Database1.accdb).
Choose Browse next to Database file name, and then navigate to your .accdb file and choose Open.
Click Test Connection To Test Connection to the database.
If the connection is successful click Ok on the message box.
If You want to get database connection string and other database properties go to "Advanced".
This is the connection string you will use programmatically to connect to ms access database.
Now go to server explorer window and you will see the newly added database.
Social Networks :
Website - http://mauricemuteti.info/
Twitter - / ea_plus
Pinterest - / mauricemuteti20
Instagram - / mauricemuteti2015
Facebook Profile- https://www.facebook.com/profile.php?...
Facebook page - / mutetimaurice
vk https://vk.com/id444057925
mix - https://mix.com/mauricemuteti
Linkedin / learning-tutorials-731a29114
Wordpress - https://mauricemutetingundi.wordpress...
Blogspot - http://mauricemutetingundi.blogspot.com/
Tumblr - / mauricemuteti2015
Channel - / @mauricemutetingundi
Github - https://github.com/mauricemuteti/
Flickr - https://www.flickr.com/people/1279000...
Subscribe - / @mauricemutetingundi
Watch video C# And Ms Access Database Tutorial #3 - How To Add Ms Access DB To Visual Studio 2010 (.accdb file) online without registration, duration hours minute second in high quality. This video was added by user Maurice Muteti 14 January 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,064 once and liked it 15 people.