In project we are using IIS with MTS(Its a web based project which we are developing in ASP and COM(Developed using VB) with SQL Server/Oracle.

We are using the components only to access database.

In the class we first defined property procedures and methods. The component users(from any application) should set the property values and call the methods each time(there are more than 10 properties whose values are set before calling a method).

As an alternate we defined some methods which takes data as parameter without using properties. Meaning component users does't set the property values instead they sent the values as a paramters of the methods.

Kindly suggest which is better with reason.


Thanks in advance.


VMK
[email protected]
[email protected]