R
rbutch
when creating an instance of a Command object
can you do mulitple inserts?
or would i have to keep creating a new instance each time i wanted a new row?
if you can do multiples, how would i instantiate that same obj each time?
Dim cmd As New OleDbCommand("Insert into TimeCard2(Empl_id,balance_date,Reg_Hours)VALUES('E1234','3/05/2005','8'")",New OleDbConnection(strConnection))
Dim cmd2 As New OleDbCommand("Insert into TimeCard2(Empl_id,balance_date)VALUES('E4567','3/06/2005','12'")",New OleDbConnection(strConnection))
thanks as usual
rik
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
can you do mulitple inserts?
or would i have to keep creating a new instance each time i wanted a new row?
if you can do multiples, how would i instantiate that same obj each time?
Dim cmd As New OleDbCommand("Insert into TimeCard2(Empl_id,balance_date,Reg_Hours)VALUES('E1234','3/05/2005','8'")",New OleDbConnection(strConnection))
Dim cmd2 As New OleDbCommand("Insert into TimeCard2(Empl_id,balance_date)VALUES('E4567','3/06/2005','12'")",New OleDbConnection(strConnection))
thanks as usual
rik
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...