请教各位,能否解说一下如下语句吗?初学者问。
string MyCustomerID = dataGridView1.Rows[dataGridView1.CurrentCellAddress.Y].Cells[1].Value as string;
string MyCustomerID = dataGridView1.Rows[dataGridView1.CurrentCellAddress.Y].Cells[1].Value as string;
解决方案 »
- C#在try-catch中使用return返回问题
- 有没有word方面的专家,我想用open方法打开word后,改变了内容后,按菜单中的退出按钮时,不提示保存直接退出
- 用System.Data.DataSet.ReadXml()方法读取XML文档问题????
- 基于基于B/S架构的报价系统
- 请教如何实现实时聊天的功能?
- 关于如何把DATATABLE中的数据安一定格式打印的问题(最好能给个例子)谢谢
- 简单的数据库更新问题
- 100分求解水晶报表中3个简单问题:相对路径,序号,纸张大小!顶者有分,谢谢各位大侠!
- 急,想下载一个网上调查的源码(C#),有没有推荐的网站.
- 类继承了某接口,为什么该类的对象不能直接引用此接口的属性,非要强制类型转化下?
- 怎么取dataGridView鼠标选中的数值!
- 求一个设置线条属性(包括颜色,渐变等)的wpf程序
string MyCustomerID =
赋值给字符串MyCustomerID
string MyCustomerID = dataGridView1.Rows[dataGridView1.CurrentCell.RowIndex].Cells[1].Value.ToString()