I am using a "GriedViewControl" with 14 columns and with this code below I can set the number "1" to the First Column and 21 Rows down.
What I wonder is how I access for example column 3 and row 1 or column 4 and row 2 etc...
What is the way/syntax to do this ?
I am not sure wich one of all column.. members to use here.

String^ Numbers = "1";

for( int i = 0; i < 20; i++)
{
	MainResultGrid->Rows->Add(Numbers);
}

I found a solution that look like this:

MainResultGrid->Rows[3]->Cells[4]->Value = "abc";

I am using a "GriedViewControl" with 14 columns and with this code below I can set the number "1" to the First Column and 21 Rows down.
What I wonder is how I access for example column 3 and row 1 or column 4 and row 2 etc...
What is the way/syntax to do this ?
I am not sure wich one of all column.. members to use here.

String^ Numbers = "1";

for( int i = 0; i < 20; i++)
{
	MainResultGrid->Rows->Add(Numbers);
}
This question has already been answered. Start a new discussion instead.