How is it possible to programatically select Row 2 in a dataGridView.

I know how to do it for a checkListBox like below but can´t find a member simular to this in the dataGridView.

checkListBox1->SelectedIndex = 2;
checkListBox1->Rows[4]->Selected = true;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.