I use C# and WindowsForms.
I want to insert a record to database and then add too my gridview
I test the codebellow but it dosent work.
//some codes here
OleDbDataReader dr = dbCommand.ExecuteReader();
while (dr.Read())
{
//DataGridViewRow row=new DataGridViewRow(); ????
//Gview.Rows.AddNew(...) ???
// what sould I write here??
}
How can I do that??