David T Besselievre
1/23/2003 5:00:00 PM
I currently have an application in C++ that will insert
data using the following query.
if exists(select 1 from rtocsvBidsMarket
where DateTime = ?)
update rtocsvBidsMarket set MW1 = ?, Bid1 = ?, SLP1 = ?
where DateTime = ?
else
insert rtocsvBidsMarket (DateTime, MW1, Bid1, SLP1)
values (?, ?, ?, ?)
To perform the query I first have to populate data
structure with all of the data and I tell the application
how to mapp the datastructure to the above query.
Is there a way to do this in C#? What more is there a
good book that I can get that will help in this area? The
book that I have only covers working with Access and I
need one that will go over SQL 2000.