Hi everybody
I am a newcomer in VC++ developement
I work VC with Oracle database
I want to manipulate the database with ADODB
After connected , i do as follow:
------------------------
recordset->Open("INSERT INTO other_info(card_id) VALUES
(200)",connection.GetInterfacePtr(),adOpenForwardOnly,adLockReadOnly,adCmdText);
------------------------
It worked , but when i want to use the editbox or combobox to take the values from end_users to put in
the SQL statements for updating or inserting --> big problem
recordset->Open("INSERT INTO other_info(card_id) VALUES (m_editbox1) : --> error
In VB 6.0 it is allright ,How can we do it in VC++
Pls , help me to handle this error
Thanks in advance !!!!
I am a newcomer in VC++ developement
I work VC with Oracle database
I want to manipulate the database with ADODB
After connected , i do as follow:
------------------------
recordset->Open("INSERT INTO other_info(card_id) VALUES
(200)",connection.GetInterfacePtr(),adOpenForwardOnly,adLockReadOnly,adCmdText);
------------------------
It worked , but when i want to use the editbox or combobox to take the values from end_users to put in
the SQL statements for updating or inserting --> big problem
recordset->Open("INSERT INTO other_info(card_id) VALUES (m_editbox1) : --> error
In VB 6.0 it is allright ,How can we do it in VC++
Pls , help me to handle this error
Thanks in advance !!!!