You are on page 1of 1

Dim adoCon As New ADODB.Connection Dim adoRS As New ADODB.Recordset Dim conStr As String Private Sub Command1_Click ! adoRS.

"oveNe#t dis$la% &nd Sub Private Sub Command'_Click ! adoRS."ovePrevious dis$la% &nd Sub Private Sub Command(_Click ! adoRS."ove)ast dis$la% &nd Sub Private Sub Command*_Click ! adoRS."ove+irst dis$la% &nd Sub Private Sub +orm_)oad ! ,------- Doing Connection conStr . /Provider."icroso0t.1et.O)&DB.*.23/ conStr . conStr 4 /Data source.C56Documents and Settings6A"7.1A8-9:'1C;<BAB*6"% Documents6trails.mdb/ adoCon.ConnectionString . conStr adoCon.O$en ,----------------=sing Record Set adoRS.O$en /Select > 0rom $erin0o/? adoCon? adO$enD%namic? ad)ockO$timistic , connect 0ield to data base @e#t1.@e#t . adoRS.+ields @e#t'.@e#t . adoRS.+ields @e#t(.@e#t . adoRS.+ields @e#t*.@e#t . adoRS.+ields &nd Sub Private Sub dis$la% ! @e#t1.@e#t . adoRS.+ields /Name/! @e#t'.@e#t . adoRS.+ields /Roll/! @e#t(.@e#t . adoRS.+ields /"obile/! @e#t*.@e#t . adoRS.+ields /$incode/! &nd Sub /Name/! /Roll/! /"obile/! /$incode/!

You might also like