When I programmed in ASP before I would do my insert into a database like this. How would I do the same thing in .net? can I do it the same way?
dbrs2.open ("Select * From Timesheet where loginID = '" & request.form("employee1"& "' and month = '" & request.form("month1"& "'" ), dbconn, 2, 3
dbrs2.addnew
dbrs2("date"=request("date1"
dbrs2("hour"=request("hour1"
dbrs2("code"=request("code1"
dbrs2("twentymiles"=request("twentymiles"
dbrs2("fiftymiles"=request("fiftymiles"
dbrs2("stairclimbers"=request("stairclimbers"
dbrs2.update
dbrs2.movenext
dbrs2.open ("Select * From Timesheet where loginID = '" & request.form("employee1"& "' and month = '" & request.form("month1"& "'" ), dbconn, 2, 3
dbrs2.addnew
dbrs2("date"=request("date1"
dbrs2("hour"=request("hour1"
dbrs2("code"=request("code1"
dbrs2("twentymiles"=request("twentymiles"
dbrs2("fiftymiles"=request("fiftymiles"
dbrs2("stairclimbers"=request("stairclimbers"
dbrs2.update
dbrs2.movenext