sum += Convert.ToDouble(dataGridView1.Rows[i].Cells[1].Value);
主要是(dataGridView1.Rows[i].Cells[1].Value)搞不懂
uj5u.com熱心網友回復:
var a = dataGridView1.Rows[i];var b= a.Cells[1];
var c=b.Value;
這樣能看得懂嗎?
uj5u.com熱心網友回復:
dataGridView1.Rows[i].Cells[1].Value: 就是dataGridView1控制元件里面,第i行第1列(行數和列數都是從0開始)里面的值。uj5u.com熱心網友回復:
分解一下dataGridView1 DataGridView控制元件的名字
Row[i] 第X行
Cells[1] 第X列
Value 值
uj5u.com熱心網友回復:
一般來說,小學生作業從網上就能免費抄,初中生作業則需要花點費用從網上抄,而大學生作業則需要發“偽專案”到一些外包網上去,而適配于公司、企業的作業則需要多領域的專業人員協同、工程化開發和實施。uj5u.com熱心網友回復:
謝謝!可是列不是colunm嗎? 怎么用cell?
uj5u.com熱心網友回復:
cell是單元格
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/257608.html
標籤:C#
上一篇:誰有泛微二次開發檔案
