G
Guest
Hi,
Sounds a real begin question, but anyway I could not find it. I can make a
query like this example where some data come in a listbox. But now I have to
display in datagrid. Can someone advice me here ?
OleDbCommand SQL = new OleDbCommand("SELECT * FROM LastPos",
Main.DBConnection);
Main.DBConnection.Open();
OleDbDataReader Reader = SQL.ExecuteReader();
listBox.Items.Clear();
try {
while (Reader.Read()) {
Sounds a real begin question, but anyway I could not find it. I can make a
query like this example where some data come in a listbox. But now I have to
display in datagrid. Can someone advice me here ?
OleDbCommand SQL = new OleDbCommand("SELECT * FROM LastPos",
Main.DBConnection);
Main.DBConnection.Open();
OleDbDataReader Reader = SQL.ExecuteReader();
listBox.Items.Clear();
try {
while (Reader.Read()) {