Introduction
What this control does is, when connected to a DataTable, it allows you to navigate, edit, add, and erase records from the table. The only things you have to take care of are: the filling of the table, you should call the DataAdapter's Fill method, to do this, and the other thing is the posting, you have to post the data back to the database manually, by calling the Update method on the DataAdapter.
Background
I made this control because of the need to display recursive data, I make a lot of database driven programs that benefit from controls like this.
Using the Code
The important properties are: Table, this is the table linked to the control, and ShowConfirmation which holds the value that determines if a warning dialog is shown when you push the delete button or not.
History
- 5th July, 2005: Initial post
rabih_kai
Web Developer
Canada
Member
|
I've been programming since year 1999, graduated from Univeristy Paris 2 France, major strengths include C# 2,3.5,4, ASP.NET MVC, AJAX,jQuery,javascript, LINQ, SQL Server 2008 R2, ADO.NET, WCF RIA Services. Sharepoint, Visual Studio 2005,2008 and 2010, Expression Blend 4 + Sketchflow, Telerik RadControl, Infragistics NetAdvantages for .Net and over six years of C++, Crystal Reports and SQL Server development experience. Through knowledge of object-oriented design, database design, MFC, ISAPI, TCP/IP networking and sockets' programming using the Microsoft Winsock API
|