2006-03-28 19:00 by 谷哥, 734 visits, 网摘, 收藏, 编辑
摘要:1.DataGrid动态绑定字段有时候我们会遇到在DataGrid中动态绑定某个字段的情况,比如:当显示中文时我们绑定cname,显示英文时我们要绑定ename,此时我们可以这样:ButtonColumn:if (language == "cn")((ButtonColumn)this.DataGrid1.Columns[3]).DataTextField = "cname";else((Butt...
阅读全文