<link rel="stylesheet" type="text/css" href="dbnetsuite.css.ashx" /> <script language="JavaScript" src="dbnetsuite.js.ashx"></script>
<script> jQuery(document).ready( init ) function init() { var dbnetcombo1 = new DbNetCombo("dbnetcombo1"); with (dbnetcombo1) { connectionString = "SamplesDatabase" addEmptyOption = true emptyOptionText = "Please select a customer ..."; sql = "select customerid, companyname from customers order by companyname" initialize() } } </script>
<table> <tr> <td>Customers</td> <td style="width:300px"><select id="dbnetcombo1"></select></td> </tr> </table>