| Author |
|
| Company |
N/A |
| Source Code Available |
Yes |
| License Type |
Free |
| Submitted On |
May 05, 2004 |
| Updated on |
July 25, 2007 |
| .NET Framework |
1.x |
| Cost |
$ 0 |
Description
DBVision Grid is a free custom control, based on the DataGrid.
DBVision Grid is based in part on the XML Edit Grid by Susan Warren. 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.
Syntax Example
<Grid:DBVGrid id="DBVGrid1" runat="server"
DBVConnection="1"
DBVTable="dbv_test"
DataKeyField="test_id"
AllowPaging="true"
PageSize="20"
BorderColor="black"
BorderWidth="1"
GridLines="Both"
CellPadding="3"
CellSpacing="0"
Font-Name="Trebuchet MS"
Font-Size="10pt"
HeaderStyle-BackColor="#aaaadd"
/>
Reviews
Submit a review