Hi John,
I post this here also, as I don't know if you still follow the other thread.
What you want to do (edit a table as easily as in MSAccess) cannot be done out of the box in VS with the standard MS controls without having to write tons of code.
But you could use the tools from
www.DevExpress.com, they have (under others) a grid that can do what you want.
This grid has two modes, 1) a standard mode, where all records need to be loaded into memory. This is good enough when you have only a few records, less than 10.000 or so, and 2) what is called a server mode, where only the displayed records are loaded on demand, as the user scrolls the records in the grid, or sorts columns, or filters records, etc.
When the grid is used in server mode, the user can edit, update, insert or delete the records directly in the grid, through nice inplace editors.
This server mode technology makes use of XPO, the ORM (Object Relational Mapping) tool of DevExpress. There are many ORMs out there, Microsoft is also (finally) working on theirs (Entity Framework with Link to SQL), but what DevExpress offers is well integrated in their control suite. This means, you do not have to bother for the SQLs, they are dynamically generated by XPO, and you do not need to code anything to handle the edition of your records. I guess, this is much the same as what you were used to in MSAccess.
I recommend you check it out in the donwloadable DXperience v2007 vol 3 for Visual Studio 2005, 2008.
- Download it at
http://www.devexpress.com/Downloads/NET/DXperience/files/DXperience-7.3.7.exe and install it.
- Start the Demo Center
- Click XtraGrid Suite
- Click XtraGrid Main Demo
- On the left in the NavBar, in the Server Side section, click Grid Server Mode. This demo works with MS SQL Server only, but note that with the same code (your exe, if you prefer), you could connect to all main DB systems there is (this is another very unique feature of DevExpress).
Regards,