Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Save a Control To a Database

Posted on 2005-04-03
3
Medium Priority
?
184 Views
Last Modified: 2010-04-16
Hi

I want to try to create a forms generator of sorts. The idea is to have a maintenace app that you can use to generate a form layout/data base asscitations etc. I then want to save this to a dabase. The client app must pick up the data from the database and recreate the form (with data assoc).

My question : Is it possible to serialize a control in c#. Is there any known or prefered method in C# to save controls in sucha way as to be able to recreate them later.

Jave has the ability to create a control by name (So I am told). Can one do something similar in C#?

tcss
0
Comment
Question by:tcss
  • 2
3 Comments
 
LVL 8

Expert Comment

by:rajaloysious
ID: 13705338
As far as i know, Controls are not serializable

cheers
0
 
LVL 1

Author Comment

by:tcss
ID: 13707791
Does this mean that it can not be done, or that I must save enough information about each control to be able to recreate t at runtime?

tcss
0
 
LVL 8

Accepted Solution

by:
rajaloysious earned 750 total points
ID: 13707926
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month11 days, 21 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question