资 源 简 介
今天突然找出以前的一小段代码,是对MFC中CDatabase类的一点小改造。CDatabase类中的ExecuteSQL函数可以用于直接执行SQL语句,但是在执行Update,Insert,Delete语句时无法得到影响的行数,新的CDatabaseEx类就实现了这个功能。 -before suddenly find a small section of code, the MFC CDatabase kind of a little transformation. CDatabase category of ExecuteSQL function can be used for direct execution of SQL statements, but the implementation Update, Insert, Delete statement could not be affected when the number of rows, the new CDatabaseEx category on the realization of this function.