0

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);
}
1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by Jennifer84
0

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.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.