By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,972 Members | 844 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,972 IT Pros & Developers. It's quick & easy.

Datagrid

P: 1
I have looked for hours and hours i have seen simular questions here none of them with a solution.

So here is my problem im using these 2 lines to edit a datagrid:

dataGridView2.CurrentCell = this.dataGridView2[0, 0];
dataGridView2.CurrentCell.Value = richTextBox1.Text;

But unless i shift the focus out manually the data doesnt get commited to the database (even doh the dataset does get updated i checked using getxml)
But it still doesnt get commited to the database.

i tryed using endedit (even doh editing didnt start), dataset.acceptchanges.

Its 3 am and im starting to lose my mind,

Good night and thanks for the help!
Apr 21 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.