i try to do like this :
string[] mar = new string[countstudents];
for (int r = 0; r < countstudents; r++)
{
mar[r] = markcomboBox[r].Items[markcomboBox[r].SelectedIndex].ToString();
}
but an error happen says that :"Object reference not set to an instance of an object"
what is the problem !!!

FroglegRank #1,020 · 1.9K reputationPosted Jun 30, 2012, 4:05 PM EDT