运行时表单创建 [英] Run Time form Creation

查看:90
本文介绍了运行时表单创建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在努力满足以下需求的项目.

步骤1:管理员(非技术用户)可以设计表单运行时,并通过拖放或任何按钮单击事件来添加asp.net用户控件,例如文本框,下拉列表,单选按钮等.可以说,管理员为税务局设计了一个表单,其中包含以下详细信息:-

名称,电子邮件和地址的文本框
本人或雇员的单选按钮
时事通讯的复选框. -------这一步很好,我可以添加控件运行时

步骤2:表单设计完成后,管理员可以保存from,然后让其他最终用户填写. ----但是如何保存来源以让最终用户使用呢?
步骤3:数据必须保存到数据库中. ----如何处理数据库,因为我不知道用户会选择什么..基于我的研究,EAV模型在某种程度上可以使用.但是,我也读到了一些缺点.

任何帮助将不胜感激.

亲切的问候
NerdAnalysis

Hi,

I am wroking on the project with following need.

Step 1: The admin(non technical user) can design the form runtime and add asp.net user controls eg textboxes, drop-down list, radio buttons etc either by drag and drop or by any button click event. Lets say the admin designed a form for the tax office with following details:-

Textbox for name, email and address
radiobutton for self employee or employee
checkbox for newsletter. -------This step is fine i can add the controls runtime

Step 2: Once the form is designed the admin can save the from and let other end users to fill that. ---- but how to save the from to let the end user use that?
Step 3: The data must be saved into the database. ---- how to go ahead with the database, because i dont know what the user will chose..based on my research EAV model is somewhat i can use. However, i read a few drawbacks of that as well.

any help will be highly appreciated.

Kind regards
NerdAnalysis

推荐答案

您正在谈论cms.
您可以使用一些外部cms框架,例如
www.dotnetnuke.com/
umbraco.org/
www.kentico.com/

或者,您可以创建自己的cms,但这比您想的要困难.这本身将成为项目.
如果仍然要创建cms,请参考这些链接.
如何使用Asp.net C#创建简单的cms?
http://blog.kurtschindler.net/post/build-your-own- cms-e28093-总览
http://www.aspfree.com /c/a/ASP.NET/使用MySQL-and-ASPNet创建一个Mono-CMS-/

我建议您使用已经存在的cms技术.
You are talking about cms.
You can use some external cms framework like
www.dotnetnuke.com/
umbraco.org/
www.kentico.com/

Or you can create your own cms but this too difficult than what are you thinking. This will itself become project.
If you still want to create your cms then refer these links.
How to create simple cms with Asp.net C# ?
http://blog.kurtschindler.net/post/build-your-own-cms-e28093-an-overview
http://www.aspfree.com/c/a/ASP.NET/Creating-a-Mono-CMS-with-MySQL-and-ASPNet/

I will suggest you to use already present cms technology.


这篇关于运行时表单创建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆