DataGrid Edit Control
page 1 of 1
Published: 01 Oct 2003
Unedited - Community Contributed
Abstract
The DBVision Grid adds edit, delete, add new, and paging ability to the .NET DataGrid for use with OleDb databases like SQL Server 2000 and Access 2000.
by Andrew Mooney
Feedback
Average Rating: 
Views (Total / Last 10 Days): 9947/ 20

A Custom DataGrid Control With Built In Editing

A custom control, based on the DataGrid, can be created to meet your application's needs. Susan Warren created the Xml Edit Grid, which can be used to edit XML files. The DBVision Grid is based in part on the XML Edit Grid. It adds edit, delete, add new and paging ability to the .NET DataGrid for use with OleDb databases like SQL Server 2000 and Access 2000. The DBVision Grid supports basic data types.

There are only three required properties; DBVConnection(The number of your connection string in the Web.config file - see View Source), DBVTable(The name of the database table to edit), and DataKeyField(The name of the single primary key field; must be integer data type). Additionally, to enable paging you must set the AllowPaging and PageSize properties.

[ Run Sample ] | [ View Source ] | [ Download ]



User Comments

No comments posted yet.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-03-28 5:37:32 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search