PC Review


Reply
Thread Tools Rate Thread

datagrid update cell

 
 
not aaron
Guest
Posts: n/a
 
      11th Mar 2005
I am wanting to be able to have an editable datagrid where once a cell
value is changed, it will update only that value in the database (MySQL
4.0.17). First I populate a DataAdapter, fill the DataSet and point
the DataGrids DataSource to the DataSet. When I try and use the
DataAdapter.Update, I get an error. I believe I have to specify my own
UpdateCommand. That is my problem. I am basically trying to create a
GUI to edit my MySQL tables. So a user can click the table, and the
datatable will display all the contents of that table, so I believe the
UpdateCommand will have to be different every time. I would also like
them to be able to delete and add new rows if needed. All the
information is displaying properly, just need to be able to edit it
now.

I have been going through forums for about a day with no luck. Any
information would be appreciated (especially code examples), or a good
site that explains what I need to do. Thanks.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
How to update one cell while other are same in datagrid? DotNetGuru Microsoft Dot NET Framework 0 18th Aug 2006 12:15 PM
datagrid - update data in BD cell by cell adi busu via DotNetMonster.com Microsoft VB .NET 1 25th Jan 2005 11:14 AM
Re: Vb.NET unable to update last cell changed in datagrid Andy Becker Microsoft VB .NET 0 9th Aug 2004 11:08 PM
problem with datagrid and how to update database when cell changes TM Microsoft VB .NET 1 13th Dec 2003 09:30 AM
DataGrid Cell Update late andrewcw Microsoft VB .NET 0 21st Oct 2003 08:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:41 AM.