社区
C#
帖子详情
如何获取Windows Form中Datagrid一个单元的值 .(新手)
wwx213
2003-12-12 03:35:59
如何获取Windows Form中Datagrid一个单元的值 .(新手)
...全文
17
9
打赏
收藏
微信扫一扫
点击复制链接
分享
下载分享明细
分享
举报
写回复
9 条
回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
dldl
2003-12-12
DataGrid1.CurrentCell.RowNumber
DataGrid1.CurrentCell.ColumnNumber
是取当前的值
也可以自己设
DataGrid[2,3]
打赏
举报
回复
赞
liusuccess
2003-12-12
i=1
j=1
DataGrid1[i,j]
打赏
举报
回复
赞
polarlm
2003-12-12
DataGrid1.CurrentCell.RowNumber
DataGrid1.CurrentCell.ColumnNumber
打赏
举报
回复
赞
wwx213
2003-12-12
rowNumber,colNumber要怎么提取?
打赏
举报
回复
赞
meixiaofeng
2003-12-12
this.dataGrid1[rowNumber,colNumber].ToString();
打赏
举报
回复
赞
wwx213
2003-12-12
要如何知道选中的是哪一个单元?
打赏
举报
回复
赞
polarlm
2003-12-12
DataGrid1[i,j]
打赏
举报
回复
赞
hlj321
2003-12-12
myDataGrid[row,col]
打赏
举报
回复
赞
yuehuaqishi
2003-12-12
myDataGrid[i,j].ToString()
打赏
举报
回复
赞
相关推荐
Windows
Mobile BLOG FAQ 2006
.
12
.
13
实在对不住大家,上次回答问题已经是9月份了,这两个月与其说忙,还不如说是太懒。忙了一年了,到了TechEd之后,忽然觉得有点厌倦,就休息了一阵。不过新年快到了,怎么样也要给大家个交代。希望大家
的
问题都有了
.
.
.
ASP
.
Net提供了三个数据控件,;这三个控件属于数据Web控件,分别是
DataGrid
,DataList和Repeater。
ASP
.
Net提供了三个数据控件,使得原本在ASP
中
繁杂
的
工作变得简单。这三个控件属于数据Web控件,分别是
DataGrid
,DataList和Repeater。 一般都是从
datagrid
开始
的
(至少我是这样开始
的
),每种数据控件 都有其自身
的
.
.
.
VS2005 C#开发
Windows
Mobile 5
.
0 智能设备程序
VS2005 C#开发
Windows
Mobile 5
.
0 智能设备程序一.Visual Studio 2005
中
配置
Windows
Mobile 5
.
0开发环境安装
的
软件包: Microsoft ActiveSync 4
.
2
Windows
Mobile 5
.
0 Pocket PC SDK
Windows
Mobile 5
.
0 Emulator
.
.
.
201202The Aggregate Demand for Treasury Debt
.
pdf
201202The Aggregate Demand for Treasury Debt
.
pdf
springboot+vue大学生健康管理源码
.
zip
springboot+vue大学生健康管理源码
.
zip
发帖
C#
加入
微信扫一扫
点击复制链接
分享社区
下载分享明细
10.7w+
社区成员
64.2w+
社区内容
.NET技术 C#
社区管理员
申请成为版主
帖子事件
创建了帖子
2003-12-12 03:35
社区公告
让您成为最强悍的C#开发者