ini penggalan codingnya,,
- Code: Select all
dataGridView1.EndEdit();
for (int col=2;col<19;col++)
{
for (int bar=1;bar<a;bar++)
{
double [bar,col] sourceMatrik = Convert.ToDouble(dataGridView1.Rows[bar].Cells[col].Value);
}
}
mohon bantuannya

dataGridView1.EndEdit();
for (int col=2;col<19;col++)
{
for (int bar=1;bar<a;bar++)
{
double [bar,col] sourceMatrik = Convert.ToDouble(dataGridView1.Rows[bar].Cells[col].Value);
}
}



vberror13 wrote:Error messagenya apa, oom?
int bar, col;
int x = 0;
int y = 0;
dataGridView1.EndEdit();
for (bar = 1; bar < a; bar++)
{
for (col = 2; col < 18; col++)
{
sourceMatrik[x, y] = Convert.ToDouble(dataGridView1.Rows[bar].Cells[col].Value);
x = x++;
}
y = y++;
}




Users browsing this forum: No registered users and 1 guest