Include the client JavaScript & CSS libraries
<link rel="stylesheet" type="text/css" href="dbnetsuite.css.ashx" />
<script language="JavaScript" src="dbnetsuite.js.ashx"></script>
Client-side configuration script
<script>
jQuery(document).ready( init )
function init()
{
var dbnetedit1 = new DbNetEdit("dbnetedit1");
with (dbnetedit1)
{
connectionString = "SamplesDatabase"
fromPart = "categories"
buttonText["search"] = "Search";
buttonText["insert"] = "Add";
buttonText["delete"] = "Remove";
buttonText["apply"] = "Save";
buttonText["cancel"] = "Cancel";
initialize()
}
}
</script>
HTML markup
<table>
<tr>
<td>
<div id="dbnetedit1"></div>
</td>
</tr>
</table>