可以自己开发asp.net控件,使用上节讲到的方法添加到库。

引用XFormDesigner.Framework.dll可以获得很多设计器:

  • 绑定设计器
  • 表达式设计器
  • 数据源设计器
  • 数据映射设计器

设计器

以绑定设计器为例,支持通过选择的方式,快速完成数据库字段绑定。

使用设计器

绑定设计器为XBindEditor,在属性上应用绑定设计器只需添加Editor属性即可:

[DefaultValue(""), YZWebCategory("XForm"), Editor(typeof(XBindEditor), typeof(UITypeEditor))]

public virtual string XDataBind

常用设计器

描述

绑定设计器

XBindEditor

表达式设计器

XExpressEditor

数据源设计器

XDataSourceEditor

映射设计器

XDataMapEditor

表单服务设计器

XFormApplicationNameEditor

Created with the Personal Edition of HelpNDoc: Benefits of a Help Authoring Tool