Professional Documents
Culture Documents
06crud - Local DB
06crud - Local DB
CRUD
(Local DB)
VERA A. PANAGUITON
Setting up the
GUI
Create CRUD Form
Sample names:
studentidtb -> for textbox
nametb -> for textbox
addbtn -> for buttons
studentdgv -> for datagridview
Note: Update DB if you have changes and refresh in the Server Explorer.
APDEV I by Vera A. Panaguiton 13
Coding
View Connection String
Just click the dataset (Database1.mdf)
in the Server Explorer to show its
Properties. You can copy this to add in
your code.
Create method
for viewing data
in datagridview
Note: Just type the fields you want to filter for the
search.