Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > How post changes to current row?

Reply
Thread Tools

How post changes to current row?

 
 
Bill
Guest
Posts: n/a
 
      07-13-2005
I have a DataGrid bound to a DataTable. If the user makes changes to a
row and does not move off of that row before I call DataAdapter.Update
the changes are not made to the database. How, in code, can I post the
changes to the current row to the underlying DataTable so that calling
DataAdapter.Update will update the database?

Note that I have tried calling DataGrid.EndEdit and that does not work.
I have also tried calling CurrencyManager.EndCurrentEdit and that does
not work. The only thing that does work is changing the value of
CurrencyManager.Postion to move to another row, however, that does not
work when there is only one row in the table.

This should be easy so I must be missing something.

--
..Bill.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Web-page that *BOTH* changes current page + displays a Pop-up pagefrom JavaScript John L. Javascript 10 05-18-2009 09:27 AM
getcwd changes? how can I get current path? Jona C++ 1 05-24-2007 03:51 AM
Current web directory changes? TPS ASP .Net 12 01-17-2004 08:09 PM
Post post post. Shel-hed Computer Support 2 11-08-2003 07:41 AM



Advertisments