I created database in ms access and it has GPA column. In listbox2 i need to list students which GPA is bigger than 2. how caN I do that?
command.CommandText = "SELECT * FROM Student WHERE GPA > 2";
while (reader.Read())
{
listBox2.Items.Add............?
}
Help if you can.