C# DEV GridControl 绑定List, 数据项用接口, 怎么可以绑定子类? 本帖最后由 fltxiaotaoer 于 2014-06-24 09:34:10 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 没明白, 能给些代码么, GridView是Dev封装好的, 我没办法改啊 没明白, 能给些代码么, GridView是Dev封装好的, 我没办法改啊 this.tl1.DataBindings.Add(new Binding("DataSource", dt, "table1"));http://msdn.microsoft.com/zh-cn/library/system.windows.forms.control.databindings.aspx 没明白, 能给些代码么, GridView是Dev封装好的, 我没办法改啊 this.tl1.DataBindings.Add(new Binding("DataSource", dt, "table1"));http://msdn.microsoft.com/zh-cn/library/system.windows.forms.control.databindings.aspx这样的话, 我必须自己写解析对象的方法, 太麻烦了, 还不如使用DataSource=BindingSource, 重写GetItemProperties方便 用IEnumerable+类型转换 完美解决, 不用泛型了, 哈哈 csc编译cs文件,如何指定.net版本啊? C#Picturebox问题,急~~~ dt.rows.cont=0? vs2005如何打印datagridview里的内容 有没有相机的SDK开发包是支持C#的? c# 高手请进! C# 如何实现背景图片全屏显示 用C#做登录按钮,数据库验证不正确 请教一个很具体的问题,关于对象列表的读取和处理 谁能告诉我那里能找到做C#的web service的sample下载 SQL怎么把多表查到的数据添加到一个表里 c#水晶报表图片展示的问题
this.tl1.DataBindings.Add(new Binding("DataSource", dt, "table1"));
http://msdn.microsoft.com/zh-cn/library/system.windows.forms.control.databindings.aspx
this.tl1.DataBindings.Add(new Binding("DataSource", dt, "table1"));
http://msdn.microsoft.com/zh-cn/library/system.windows.forms.control.databindings.aspx
这样的话, 我必须自己写解析对象的方法, 太麻烦了, 还不如使用DataSource=BindingSource, 重写GetItemProperties方便