CString cSql; CString strpath; CDaoDatabase pDatabase; strpath = "ODBC;DSN=CONTACT;UID=sa;PWD = cademtech"; pDatabase.Open(NULL,0,0,strpath); cSql.Format(_T("DELETE FROM User WHERE Name='%s'"),str); pDatabase.Execute(cSql);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)