怎么在datagrid的单元格中写单击事件? datagrid中的cell都是由datagirdtextbox组成的,你要在它的事件里写 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1、this.dataGrid1.Click += new System.EventHandler(this.dataGrid1_Click);2、private void dataGrid1_Click(object sender,System.EventArgs ne){} private void dataGrid1_Click(object sender,System.EventArgs ne){ MessageBox.Show("你单击的是行数"+dataGrid1.CurrentRowIndex); //dataGrid1[X,Y]取得具体的某个格子的数据} 怎么读取数据连接的配置文件 如何两张图片合成和给图片上面增加文字 C#中子对话框如何传值给父对话框? webform:gridview在鼠标点击行时,怎么获取某列的值? 里面有 Console.ReadKey();为什么还一闪而过? C# 将datagridview的数据插入到数据库 怎样用C#读取数据库DataSet中的数据? 关于OleDbDataReader读取ACCESS顺序错乱的问题 急急急急~~~~~·我想选中datagridview第一列中的一行,并删除,怎么做 使用c#语言,如何调用操作系统的shell命令? question !! 请问,如何随机产生一个字符串
2、private void dataGrid1_Click(object sender,System.EventArgs ne)
{
}
{
MessageBox.Show("你单击的是行数"+dataGrid1.CurrentRowIndex);
//dataGrid1[X,Y]取得具体的某个格子的数据
}