p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_howto thread: how to use OLE DB Consumer templates


Message #1 by "Phil Perks" <philp@w...> on Wed, 1 Mar 2000 10:27:29
---Original Message-----
From: payoj pusalkar [mailto:payojp@h...]
Sent: 29 February 2000 23:46
To: support@w...
Subject: Professional ASP 3.0 179-0


Hi,

The example on how to use OLE DB Consumer templates in chapter 18 of 
Professional ASP 3.0 retrives all records from the database.

I want to retrive records from rdbms table based on certain search 
criteria
( ie using a where clause).

How and where to write a select query in OLE DB Consumer templates library
in vc++ 6.0.

EXAMPLE:
i want to use it to retrive data from a table with something like this

SELECT empname FROM employeetable
WHERE name = 'xyz'

please let me know how to accomplish this using OLE DB Consumer templates
payoj.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

  Return to Index