PDA

Click to See Complete Forum and Search --> : COM development


anizam
Nov 15th, 2000, 10:31 AM
I am trying to develop a project fully depends on COM technology

But I am facing a important problem. (maybe same to me as important.Let me explain )

Think of you have a customer table and customer object...

In traditional development method You are adding a ADODC object and in your bind your item to it.
Then you can use recorset update,recordset insert event

In com development you need to write all default database (traditional)event...
for example customer.insert,customer.update,customer.delete
customer.research

if you have 20 table in tour project. And you want to write all project in COM architecture you need (have) to write at last 20*4=80 method.

is there any way

thank you...

bbUFO
Nov 15th, 2000, 11:10 AM
How about pass the database SQL query as parameters?

anizam
Nov 15th, 2000, 11:31 AM
how can I create database query and then I can use it as a parameter...

SmackAttack
Nov 15th, 2000, 01:16 PM
You need to learn ADO for starters...

Check out these 2 links:

http://msdn.microsoft.com/library/periodic/period99/SA99H17.HTM

http://msdn.microsoft.com/library/periodic/period99/ds0599.htm