Download presentation
Presentation is loading. Please wait.
Published byClarissa Parrish Modified over 5 years ago
1
Start a new project – since this is the community edition I will save all when I get into VB and then I can choose the location and specify a folder.
2
I am choosing to save on the G drive and I want to create a folder/directory for the solution.
3
I right clicked on the database name and selected add and the new item.
4
I then select Data, Service-based Database and give the database a name with a mdf extension.
5
I have now added a database to my project.
If I click on it in the Server Explorer I will see Tables, Views etc.
6
Right click and select Add New Table
7
I layed out a table. Now I will rename it and update it.
8
I clicked on update here and then after the popup I clicked on Update Database.
10
I did a refresh (not sure I had to) and now I select Show Table Data.
11
I did a refresh and a save all and I now have my table.
12
I went back to the form and the toolbox and selected data grid view and then dragged it to the form.
13
In properties, find Dock and click on the inner rectangle to fill the form.
14
Click on the little arrow and the top of the grid (right top corner)
15
Click on Add Project Data Source
16
Click next
17
Click next
18
If this is not the connection you want, click new connection to find it. If it is then click next.
19
Click next
20
I checked all the fields to have them all available.
21
Notice the dataset information etc.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.