No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Iam An VB6 Program trainee
Re:
i need help in adding a new record to the database using adodc in vb6.. i've a command button named add in my form... | |
Dim DB As New ADODB.Connection Dim rs As New ADODB.Recordset Dim RST As New ADODB.Recordset Dim adoConn As ADODB.Connection Private Sub Command1_Click() Adodc1.RecordSource = "INSERT INTO STUDATA(UserName,Password,Course, Gender,Country) Values ('" & TxtUn & "',' " & TxtPw & " ','" & ChkC.ischecked.tostring() & "','" & ChkCC.ischecked.tostring() & "','" & ChkJAVA.ischecked.tostring() … |