How can we set, programmatically, the value or the selected index of a datagridviewcomboboxcell in windows form?
I have tried it in few ways, one shown below, but without luck,
1 2 3 4 5 6 7 8
//Populate geometry
for(int i = 0;i<NOLYRS;i++)
{
line = readLines[i];
words = line->Split(delimiter, StringSplitOptions::RemoveEmptyEntries);
for (int word = 0; word<words->Length; word++)
this->dataGridView1->Rows[i]->Cells[word]->Value = words[word];
}