.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 4th, 2003, 06:26 PM
Sathish Sathish is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 8 Sathish User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Is there a way to add Properties at run time

Suppose i have created a generalized class which deals with data access and let us say there is a method which accepts a table Name and the method should <b>return a object and which in turn should populate Field Names as properties.</b> This part is actually a Design time when the class is used in the page. But as far as class is concerned its at run time since we create its instance and use it.<br><br><br>I have to explain this so that i want know whether what i am trying to do is right or wrong.<br><br><br>Now my question is <br><br>(1). How will the property be generated at run time as per the class is concerned.<br>(2). Even if the property is generated at run time (incase what i am asking is right) how will the property values be retrieved at run time of the page.<br><br><br>Let me further explain as i very well know the way i have asked is confusing .<br><br>1. <b>class DataAccess() </b> is a generalized Component created.<br><br>2. This DataAccess class is used in an Web Page or Windows Form. <i>When this class is used it will termed that it is in runtime. <b>This is were i want by DataAccess class to generate Properties when a method is called.</b> (runtime as per the class is concerned)</i><br><br>3. Now when the Web Page Or Windows Form is run both the class and the Page Or Form will be in run time. <b>Now this is the place where i want know the way to retreive the Property and its value.</b><br><br><br>All i want to know is there a possibility of this kind, if so just give me a hint and also incase if there is any Web link where i could look into it.<br><br>Thanks in advance.<p> </p><p><hr size="1" width="50%" align="left" />Sathish</p>

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Is there a way to add Properties at run time


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT