/// <summary> /// ɾ����������ij��ͼ�� /// </summary> /// <param name="cartId">��Ҫɾ������������Ŀ���</param> public void RemoveBook(int cartId) { Database db=new Database(); string strSql="Delete From [Cart] Where cartId = "+cartId.ToString(); db.ExecuteSQL(strSql); }
/// <summary> /// ɾ��ͼ�� /// </summary> public void Delete() { Database db=new Database(); string strSql="Delete From [Book] Where BookID = "+this._bookId; db.ExecuteSQL(strSql); }
/// <summary> /// ɾ������������ /// </summary> public void Delete() { Database db=new Database(); string strSql="Delete From [Cart] Where CartID = "+this._cartId; db.ExecuteSQL(strSql); }