zoukankan
html css js c++ java
.在Datagrid中修改数据,当点击编辑键时,数据出现在文本框中,怎么控制文本框的大小 ?(转)
private
void
DataGrid1_ItemDataBound(obj sender,DataGridItemEventArgs e)
{
for
(
int
i
=
0
;i<e.Item.Cells.Count
-
1
;i
++
)
if
(e.Item.ItemType
==
ListItemType.EditType)
{
e.Item.Cells[i].Attributes.Add(
"
Width
"
,
"
80px
"
)
}
}
查看全文
相关阅读:
中国AI觉醒 阿里王坚:云智能将成为大趋势
中国AI觉醒 阿里王坚:云智能将成为大趋势
如何设计scalable 的系统 (转载)
如何设计scalable 的系统 (转载)
如何设计scalable 的系统 (转载)
如何设计scalable 的系统 (转载)
odoo开发笔记--模型中常用的方法
odoo开发笔记--模型中常用的方法
odoo开发笔记--模型中常用的方法
用五分钟重温委托,匿名方法,Lambda,泛型委托,表达式树
原文地址:https://www.cnblogs.com/stevenxiao/p/478769.html
最新文章
剑指offer
剑指offer
剑指offer
中国AI觉醒 阿里王坚:云智能将成为大趋势
怎样玩转千万级别的数据
xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!
xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!
xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!
xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!
一万在农村能搞养殖吗?可以养多少山鸡?
热门文章
男人做的冷门赚钱行业有哪些?男人做什么比旁人更赚钱?
最有效的解决Maven项目中的图片、css和js等静态资源不能访问的方法
如何在Java项目配置根路径?
Controller不能访问的解决方法
倒计时7天:招行、平安齐聚DTC 2019之金融峰会,讲师议题抢先看
人到中年想创业赚钱?找项目要抓住四个基本,找商机要做到三不可
选对CTO,才能帮助到整个创业团队
创业初期,教你迅速组建优秀的创业团队
OpenStack 高性能虚拟机之大页内存
中国AI觉醒 阿里王坚:云智能将成为大趋势
Copyright © 2011-2022 走看看