Question I cannot import the data to the database in Visual Studio community

Kenrick77

New member
Joined
Aug 17, 2021
Messages
1
Programming Experience
Beginner
Hi Experts,
I connected the database to the Visual Studio. However, I just cannot import the data or columns into the form in Visual Studio, please help me ,thanks.

Capture.PNG
 
Last edited by a moderator:

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,553
Location
Sydney, Australia
Programming Experience
10+
Have you added that ACCDB file to your project? If not, you should do so. That will prompt you to copy the file into the project, which you should accept. I think that it will also generate a Data Source. If it doesn't do that automatically, you should open the Data Sources window and create one yourself. That will give you a typed DataSet that you can use to store the data in your app and table adapters that you can use to retrieve data and save changes.
 
Top Bottom