![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Nov 2006
Posts: 1
Rep Power: 0
![]() |
Grid feature
Hi,
I'm looking for my app(may develop a standalone or web-based) to display information from a database table in an editable Grid (user could click a cell and edit contents) and on hitting a save button update the database. I know I could achieve this using a datagrid and utilising the Edit and Update methods but is there a way to have all cells editable and update from a button. Thanks in advance. |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
|
sure there's a way. If i get what you're saying, you want it to update all the records that were changed in a datagridview when a save button is clicked or something?
what i would do is put all of your data into a dataset and bind it to your datagridview. now you can simply make changes and when save button is clicked you call your DataAdapter.Update(dataset)
__________________
I have never let my schooling interfere with my education. -Mark Twain- Xbox live gamertag: melbolt |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Python] Grid encryptor | Jessehk | Show Off Your Open Source Projects | 7 | Nov 29th, 2007 7:11 PM |
| Next: grid rotation | DaWei | Python | 25 | Jul 30th, 2006 9:58 AM |
| Little off-topic... Grid coordinate handling | CodeCaster | C++ | 13 | Jul 4th, 2005 7:07 AM |
| Grid | Ashok | ASP | 0 | May 30th, 2005 12:32 AM |
| Need assistance with program | DJ_Mittens | C++ | 4 | Apr 20th, 2005 7:48 AM |