MySQL Forums
Forum List  »  German

Re: Connector/Net und MySqlParameter
Posted by: Hauke Betz
Date: October 16, 2006 12:08AM

Hallo,

ob man es in der MySQL-Dokumentation findet, weiss ich nicht, allerdings steht etwas dazu in der VS-Dokumentation.

MySQL erkennt deine Parameter, wenn Du ein "?" verwendest:

MySqlCommand dbcINSERT = new MySqlCommand("INSERT INTO tabel1 (name) VALUES (?tmpname)",YourConnection)

...

dbcINSERT.Parameters.Add("?tmpname",...)

Gruß

Hauke



Edited 1 time(s). Last edit at 10/16/2006 12:09AM by Hauke Betz.

Options: ReplyQuote


Subject
Views
Written By
Posted
6546
October 13, 2006 08:12PM
Re: Connector/Net und MySqlParameter
3740
October 16, 2006 12:08AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.