首页 新闻 搜索 专区 学院

实体类绑定网格后,网格标题如何显示该属性相应的中文???

0
[已解决问题] 解决于 2008-01-27 16:33
实体类绑定网格后,网格标题如何显示该属性相应的中文??? <BR>举例: &nbsp; <BR>public &nbsp; cust: &nbsp; class,....(其它接口) <BR>{ <BR>&nbsp; ... <BR>&nbsp; public &nbsp; string &nbsp; cust_id <BR>&nbsp; { <BR>&nbsp; &nbsp; &nbsp; get &nbsp; {...}; <BR>&nbsp; &nbsp; &nbsp; set &nbsp; {...}; <BR>&nbsp; }; <BR><BR>&nbsp; public &nbsp; string &nbsp; cust_name <BR>&nbsp; { <BR>&nbsp; &nbsp; &nbsp; get &nbsp; {...}; <BR>&nbsp; &nbsp; &nbsp; set &nbsp; {...}; <BR>&nbsp; }; <BR>}; <BR><BR><BR>当把这个cust绑定到GridView后,cust_id列的标题如何设为"客户代号"呢??? <BR>
cloudgamer的主页 cloudgamer | 菜鸟二级 | 园豆:280
提问于:2008-01-27 00:41
< >
分享
最佳答案
0
GridView1.Columns[0].HeaderText="客户代号";
丁学 | 专家六级 |园豆:18530 | 2008-01-27 08:01
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册