Write a VB program to allow insert and remove student’s data into a Data Grid View. Then, write a button event to allow saving the data into a txt file.
STEP 1: Set the headers of the Data Grid View when Form.Load.
STEP 2: Click the Insert button to insert the entered data as a row in the Data Grid View. Click the Remove button to remove the selected row.
STEP 3: click the Save button to save the rows data as a comma separated text into a text file.
The interface should be as followed:
StudentID:(Textbox), StudentName:(Textbox)
Course:(Textbox), Semester:(Textbox)
Insert(Button)
(DataGridView)
Remove(Button), Save(Button)
Comments
Leave a comment