S
Steiner Hubert
Hello,
i use this code:
cmd.CommandText = "INSERT INTO Tabelle(Name,ID,Hersteller,Kombi) "
cmd.CommandText &= "VALUES ('"
cmd.CommandText &= rw.Item("tab_bezeichnung") + "','"
cmd.CommandText &= rw.Item("tab_id") + "','"
cmd.CommandText &= rw.Item("tab_hersteller") + "','"
cmd.CommandText &= rw.Item("tab_kombi")
cmd.CommandText &= "')"
cmd.ExecuteNonQuery()
how can i use this over the parameters?
cmd.parameters.??
i use this code:
cmd.CommandText = "INSERT INTO Tabelle(Name,ID,Hersteller,Kombi) "
cmd.CommandText &= "VALUES ('"
cmd.CommandText &= rw.Item("tab_bezeichnung") + "','"
cmd.CommandText &= rw.Item("tab_id") + "','"
cmd.CommandText &= rw.Item("tab_hersteller") + "','"
cmd.CommandText &= rw.Item("tab_kombi")
cmd.CommandText &= "')"
cmd.ExecuteNonQuery()
how can i use this over the parameters?
cmd.parameters.??