How to bind data to a DataGridView?
Posted: Thu 15 Mar 2012 21:12
I can retrieve data this way:
...but I really want to put all of the data into a DataGridView control. Is that possisble? If so, how?
Code: Select all
while (myReader.Read())
{
MessageBox.Show(myReader.GetString(0));
}