如何将 dataGrid 控件的 Cell[i,j] 赋值? 如何将 dataGrid 控件的 Cell[i,j] 赋值?比如:dataGrid.CurrentCell[i,j] 是 "abc";现在,俺想变成"sdfsfsfsfbc";怎么办? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 datagrid 可以直接往上写的啊, dataGrid1.CurrentCell[i,j]="aaaaadfdfdfdf"出错:D:\TCShare\fun\TSale\sale\Form1.cs(489): 无法将带 [] 的索引应用于“System.Windows.Forms.DataGridCell”类型的表达式 int intRow = dataGrid1.CurrentCell.RowNumber;int intCol = dataGrid1.CurrentCell.ColumnNumber;string newText = dataGrid1[intRow, intCol].ToString();dataGrid1[intRow,intCol]="dddd"; dataGrid1[dataGrid1.CurrentCell] = "abc"; 各位大哥些,有个问题困扰小弟很久了(C#获取DLL基址) 碰到一个奇怪的问题?如何解决? 关于前台调用后台变量 web程序主页面总是刷不出来 .net应用程序打开几次之后怎么越来越慢 关于C#从服务启动窗体的问题 请问用listView怎么实现前页和后页反转? 政则表达式验证日期 多线程的小问题[在线等] 【第一季-C#编程基础】史上最好.net视频教程下载地址,连载~收到请回复! 安装Visual Studio 2005简体中文正式版时错误 请问怎么生成dll文件
出错:
D:\TCShare\fun\TSale\sale\Form1.cs(489): 无法将带 [] 的索引应用于“System.Windows.Forms.DataGridCell”类型的表达式
int intCol = dataGrid1.CurrentCell.ColumnNumber;
string newText = dataGrid1[intRow, intCol].ToString();
dataGrid1[intRow,intCol]="dddd";