P
Przemek
Hi
I've got a little problem here
the sample code is:
int ID = 100;
String *sqlcommand=
String::Format(S" INSERT INTO Customers ([#ID], Name, SureName,
BirthDay, Position)
VALUES ({0}, '{1}', '{2}', '{3}', 'aaaaa')",
ID.ToString(), TextBox->Text, textBox2->Text,
textBox3->Text);
and all is ok, but if I using 3 parameters {3} in Format function there is a
error calls: Format function can't take 5 arguments,
I can use {0}, {1}, {2} arg's - but {3} make that Error.
How Can I Format that String using more than 3 {} arg's?
I've got a little problem here
the sample code is:
int ID = 100;
String *sqlcommand=
String::Format(S" INSERT INTO Customers ([#ID], Name, SureName,
BirthDay, Position)
VALUES ({0}, '{1}', '{2}', '{3}', 'aaaaa')",
ID.ToString(), TextBox->Text, textBox2->Text,
textBox3->Text);
and all is ok, but if I using 3 parameters {3} in Format function there is a
error calls: Format function can't take 5 arguments,
I can use {0}, {1}, {2} arg's - but {3} make that Error.
How Can I Format that String using more than 3 {} arg's?