michelle5422
July 8th, 2003, 12:19 PM
i want to delete the particular record which is input by user . so how i write in my sql query?
CString name;
CEdit *edit1;
edit1=(CEdit*)GetDlgItem(IDC_EFNAME);
edit1->GetWindowText(name);
rs.Open( "SELECT * FROM Categories WHERE Identity="'name'"" );
rs.Delete();
but it got error at name there ....
i have out od ideal to solve it .. thanks alot ur help
:(
CString name;
CEdit *edit1;
edit1=(CEdit*)GetDlgItem(IDC_EFNAME);
edit1->GetWindowText(name);
rs.Open( "SELECT * FROM Categories WHERE Identity="'name'"" );
rs.Delete();
but it got error at name there ....
i have out od ideal to solve it .. thanks alot ur help
:(