zoukankan
html css js c++ java
用dataset做数据源时,让gridview显示的列名与数据库表中的字段名不同
原文发布时间为:2008-10-27 —— 来源于本人的百度文章 [由搬家工具导入]
确定GridView的AutoGenerateColumns设置为False;使用GridView的“编辑列”,添加一个绑定字段:“BoundField”,在该绑定字段的BindField的属性中的数据中的DataField中添加你要绑定的数据库中表的列的名称,然后用你的代码没问题了,或者是在“外观”中的“HeadText”中输入要显示的名称也可以实现
查看全文
相关阅读:
Valid Palindrome
Construct Binary Tree from Inorder and Postorder Traversal
LeetCode: LRU Cache
LeetCode: Max Points on a Line
LeetCode: Evaluate Reverse Polish Notation
LeetCode:Two Sum
LeetCode: Binary Tree Postorder Traversal
LeetCode:Binary Tree Maximum Path Sum
iOS开发 入门学习总结(二)Objective-C 语法特性总结
LeetCode: Minimum Depth of Binary Tree
原文地址:https://www.cnblogs.com/handboy/p/7141573.html
最新文章
使用VS2012编译QT 5.2.1静态库
QT 4.8 静态库编译方法
ide vim 设置
数据库表设计
jQuery EasyUI入门
struts2之使用Filter作为控制器的MVC
H5页面分享微信自定义分享title和img
fullpage插件在移动端弹出键盘页面特殊处理
第四章 类型基础
第三章 共享程序集和强命名程序集
热门文章
第二章 生成丶打包丶部署和管理应用程序及类型
第一章 CLR的执行模型
Implement strStr()
Longest Palindromic Substring
Populating Next Right Pointers in Each Node II
Sort List
Candy
Flatten Binary Tree to Linked List
ZigZag Conversion
Rotate List
Copyright © 2011-2022 走看看