Look at your code:
while (reader.Read());
{
comboBox1.Items.Add(reader[0].ToString());
}
The semicolon at the end of the
while
line means that all the lines have been read before you enter the curly bracket block where you try to use it.
Remove the semicolon.