Update Problem

PLH

Well-known member
Joined
Dec 18, 2004
Messages
48
Location
Los Angeles, CA - USA
Programming Experience
Beginner
Hi all,
I hope some one can help me with the problem I have in my app. The problem is that I can’t save the datagrid data into the database. The app uses tabledapter and dataset which were automatically created by the wizard in the design time. When I fill the first row with the data and call the Update method nothing happens. If I fill two rows of data, then the first one is saved. It seems that the last one is not saved at any time. I think it might be the row state thing but I am not sure. Any suggestion will be welcome.

VB.NET:
  [/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]DataGridView1.EndEdit()[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]Me.TWordsTableAdapter.Update(Me.DictionaryDataSet.TWords) [/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]
 
Back
Top