G
Guest
Hello,
I'm developing a website with asp .net and want to insert data into a mdb.
As I'm fetching the data from a web form I need to be able to have
parameters in the SQL.
Which sign indicates a parameter in this situation?
oledb objects should mean "%" or what?
Sample code:
cmdIns.CommandText =
"INSERT INTO qPersoner ( Företag, FNamn, ENamn" & _
", Adressrad1, Adressrad2, Pnr, Ort, Tfn1, Tfn2, Epost, " & _
"Medlem, Medlemsnr, Instruktör, Aktiv, Livinfo)" & _
" Values (%,%, %, %, %, %, %, %, %, %, %, %, %, %, %)"
I'm developing a website with asp .net and want to insert data into a mdb.
As I'm fetching the data from a web form I need to be able to have
parameters in the SQL.
Which sign indicates a parameter in this situation?
oledb objects should mean "%" or what?
Sample code:
cmdIns.CommandText =
"INSERT INTO qPersoner ( Företag, FNamn, ENamn" & _
", Adressrad1, Adressrad2, Pnr, Ort, Tfn1, Tfn2, Epost, " & _
"Medlem, Medlemsnr, Instruktör, Aktiv, Livinfo)" & _
" Values (%,%, %, %, %, %, %, %, %, %, %, %, %, %, %)"