|
-
October 31st, 2003, 08:05 AM
#4
strcpy(ConStr, "SELECT * FROM prodlist WHERE product_name=");
strcat(ConStr, "'aegis 1.0'")
pRecordset = m_pConnection->Execute(ConStr, vRecordsAffected, 1);
strcpy(ConStr, "SELECT * FROM prodlist WHERE product_name=");
(ConStr, "'aegis 2.0'");//change Here ..
pRecordset = m_pConnection->Execute(ConStr, vRecordsAffected, 1);
OR
sprintf(ConStr, "SELECT * FROM prodlist WHERE product_name ='%s' ","aegis 2.0"); /// We can change Here ...
pRecordset = m_pConnection->Execute(ConStr, vRecordsAffected, 1);
Regards
Balamurali C
Last edited by ccbalamurali; October 31st, 2003 at 08:21 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|