?
Solved

Save a Control To a Database

Posted on 2005-04-03
3
Medium Priority
?
180 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

801 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