首页> 外文期刊>MSDN Magazine >Simplify Data Binding In ASP.NET 2.0 With Our Custom Control
【24h】

Simplify Data Binding In ASP.NET 2.0 With Our Custom Control

机译:使用我们的自定义控件简化ASP.NET 2.0中的数据绑定

获取原文
获取原文并翻译 | 示例

摘要

ASP.NET 2.0 includes many new data binding features that can significantly simplify a variety of data binding scenarios. Unfortunately, one very common scenario—simple control data binding—has changed very little. While this is a common scenario in forms-based Web applications, it remains for the most part a manual and time-consuming process. Simple control data binding refers to the process of binding a single value to a property of a control—for instance, binding form controls like textboxes, checkboxes, radio buttons, or selected values of list controls to individual data or object values. This could benefit significantly from a consistent approach to handling data binding deterministically, as well as managing error trapping and display consistently. In this article, I introduce a custom extender control that can be used to bind any individual value from data or objects to any control property. It can extend and provide designer support for any existing control on a Web Form.
机译:ASP.NET 2.0包含许多新的数据绑定功能,可以大大简化各种数据绑定方案。不幸的是,一种非常常见的情况-简单的控制数据绑定-改变很小。尽管这是基于表单的Web应用程序中的常见情况,但在大多数情况下,它仍然是手动且耗时的过程。简单控件数据绑定是指将单个值绑定到控件属性的过程,例如,将表单控件(如文本框,复选框,单选按钮或列表控件的选定值)绑定到单个数据或对象值。这可以从确定性地处理数据绑定的一致方法以及一致地管理错误捕获和显示中受益。在本文中,我介绍了一个自定义扩展器控件,该控件可用于将数据或对象中的任何单个值绑定到任何控件属性。它可以扩展Web窗体上的任何现有控件并为其提供设计者支持。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号