hellow!!
i mworking in c++ managed on vsual studio c++ 2010 express edition but when i get the text from a text zone and use it in an other traitement it's gve me tis error:
de 'System::String ^' en 'System::String ^[256]'
nd there is my code:
private: System::Void BGENER_Click(System::Object^ sender, System::EventArgs^ e) {
char szSql12[256];
String^ val;
String^ val2;
val=TIDBMK->Text;
val2=INOMBAMK->Text;
szSql12="insert into BANK(CODE_BANK,NOM_BANK) values ('"+val+"','"val2"')";
rc = SQLAllocStmt(hDbc,&hStmt);
rc=SQLExecDirectA(hStmt,szSql12,SQL_NTS);
}