DataGrid Methods

  • Thread starter Thread starter John
  • Start date Start date
J

John

I created a connection, adapter, and a dataset using a .mdb, then filling in
at runtime;



OleDbDataAdapter1.Fill(DataSet11)



I also created a DataGrid and bound it by changing the DataSource property
to 'DataSet11.MainTable'.



My Goal is to modify the data in the rows and also add new rows with new
data in MainTable at runtime and keep the changes permanent. What methods
would I use to do this?
 
If he has a multi-user environment, you're right. (Of course.)

If he doesn't, as long as the grid is bound, he could use a table
adapter to save the changes. Or a data adapter, but he has to write
his own logic. No matter what he does, he should *not* use that pesky
CommandBuilder. ;-) We all agree on that!

I didn't answer this at first, because it seems like an enormous
question
to me. There are whole chapters of books written about this very topic.

So John -- is it a multi-user environment?

Robin S.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top