Skip to main content

Write a VB program to accept the details of students from user & store details in to the database. Using data environment create report. (Use standard ADODC controls) Student (S_Rollno, S_Name, S_Class, S_Address )

· One min read
Kaustubh Kulkarni
file.vb
Private Sub cmdadd_Click()  

Adodc1.Recordset.AddNew

Text1.SetFocus

End Sub

Private Sub cmdcancel_Click()

Unload Me

End Sub

Private Sub cmdreport_Click()

DataReport1.Show

End SubEnd Sub