Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual Basic
Expertise: Beginner
Jul 24, 1997



Application Security Testing: An Integral Part of DevOps

Storing Control Properties

I need to store a full text box in a data base, so that later I can recover it with all its properties; is that possible or do I have to save each property ONE BY ONE?

What I would recommend doing is writing a routine that extracts all the properties from a control and creates some sort of text-based format for it so it can be saved in the database. For instance, you could save the properties like this:

BackColor: blah
ForeColor: blah
You can simply build a big long text string and store it in a memo field. You still have to store each property, but the routine you build loops through all the properties of the control and saves each one to the database.
DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date