当前位置: 首页 > 图文教程 > 网络编程 > ASP.NET > 暂时性的解决datagrid控件数据绑定时候xxx字段不属于xxx表的错误

ASP.NET
DVNEWS 3.2 1013版免虚拟目录的安装方法,只要三个步骤
DataRow的序列化问题
VB.net基础:使用UDP发送和接收消息
采用HttpModules来重写URLs(实践篇)
要用到事务了
DataGrid中单元格的比较
动态引用WebService,建立WebService虚拟机
[初学VB.NET]数据绑定
使用ASP调用WebService时不能以Name为数据库中的字段
在VB.NET里操作文本文件
web下打印的办法
怎样把SQL_SERVER数据库里的(类型是image)图片显示在aspx页面里的image控件里
C#中字符串的加密
中小企业信息应用的利器:DAP-Dynamic Applications Platform
数据库系统概论学习笔记
体会到译者的艰辛,也发现了他们犯的错误
IISManager V1.1 是一个在线管理IIS,维护站点组件,安全稳定,最重要的是完全免费。
VS FlexGridPro 8.0如何在window98运行---有没有升级版本,急请高手指点
给立方体添加纹理
Wrox的C#高级编程第三版第一部分第一章(1~9页)

ASP.NET 中的 暂时性的解决datagrid控件数据绑定时候xxx字段不属于xxx表的错误


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 43 ::
收藏到网摘: n/a


using System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Data;using System.Windows.Forms;
namespace Device.Forms.UI.Grids{ /// /// NewDataGrid 的摘要说明。 /// public class NewDataGrid : DataGrid { /// /// 必需的设计器变量。 /// private System.ComponentModel.Container components = null;
public NewDataGrid() { // 该调用是 Windows.Forms 窗体设计器所必需的。 InitializeComponent();
// TODO: 在 InitializeComponent 调用后添加任何初始化
}
/// /// 清理所有正在使用的资源。 /// protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); }
#region 组件设计器生成的代码 /// /// 设计器支持所需的方法 - 不要使用代码编辑器 /// 修改此方法的内容。 /// private void InitializeComponent() { // // NewDataGrid // this.Name = "NewDataGrid"; //this.Load += new System.EventHandler(this.NewDataGrid_Load);

} #endregion
protected override void OnEnter(EventArgs e) { try{ base.OnEnter(e); } catch{ return; } } }}