0
IM發送從一種形式值以另一種形式,然後要在DGV顯示,添加行編程到無限的datagridview
即時試圖這一點,有在執行過程中沒有錯誤,BT它並不顯示在DGV數據.. PLZ HEPL我
lineItemsDGV.Rows.Add();
int RowIndex = lineItemsDGV.RowCount - 1;
DataGridViewRow NewRow =lineItemsDGV.Rows[RowIndex];
NewRow.Cells[0].Value = item.Product_id;
NewRow.Cells[1].Value = item.product_name;
NewRow.Cells[2].Value = item.specification;
NewRow.Cells[3].Value = item.unit_price;
NewRow.Cells[4].Value = item.unit_price * 1;
問候