Define Properties

  • Thread starter Thread starter shapper
  • Start date Start date
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
 
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

Similar Threads

Events and Properties 3
Class question 6
Class 1
Public Shared Property in a DLL 12
Serializable 2
Property 1
Class Property 2
Need Expert Help and Advice. Thank You. 7

Back
Top