Define Properties

S

shapper

Hello,

I created a library with various web control classes. All these
classes access to an SQL database and have a few common properties.

Some of the properties are commonly used by the web controls classes
are: ConnectionString [String], Mode [Enumeration], Keys [Array of
String], etc.

I need to implement a way in my library to define these common
properties once and then access those values in my web controls
classes.

Which approach should I use?

Thank You,

Miguel
 
B

bruce barker

either inherit from a common base that implments these methods, or
define an interface.


-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top