|
-
Feb 9th, 2010, 11:13 AM
#1
Thread Starter
New Member
update data from datagridview to database
Hi guys,
My datagridview is displaying records from table in database.When I go to add a new record the 'pencil' icon does not appear so when I click on save button update to database table does not take place.
code behind save button is
BindingContext(TheatreBindingSource).EndCurrentEdit()
PatientTableAdapter.Update(TheatreDataSet)
PatientTableAdapter.Connection.Close()
i have spent all day trying to sort this ...any ideas and yes my theatrebindsource.allownew is set to true
Trudy1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|