Simplicity

The key feature of DbNetSuite is simplicity. So simple in fact that you can create a fully functional web-based data grid that allows you to search, sort, edit, export, print and copy with just a few lines of code. DbNetSuite components can be implemented as either an ASP.NET server-control or a client-side JavaScript object.

DbNetGrid implemented as an ASP.NET server-control
<DNL:DbNetGrid 
	id="customersGrid" 
	runat="server" 
	ConnectionString = "SamplesDatabase"
	FromPart = "customers"
	>
</DNL:DbNetGrid>
DbNetGrid implemented as an ASP.NET server-control (code-behind)
protected void Page_Load()
{
	base.Page_Load();

	DbNetGrid CustomerGrid = new DbNetGrid();
	CustomerGrid.ID = "customersGrid";
	CustomerGrid.ConnectionString = "SamplesDatabase";
	CustomerGrid.FromPart = "customers";

	Page.Form.Controls.Add(CustomerGrid);
}
DbNetGrid implemented as a JavaScript object

jQuery(document).ready( init )
 
function init()
{
	var dbnetgrid1 = new DbNetGrid("dbnetgrid1");
	with (dbnetgrid1)
	{
		connectionString = "SamplesDatabase"
		fromPart = "customers"
		initialize()
	}
}