salve a tutti, avrei un problema da risolvere, e sarei grato a chi mi da una mano!!!
sto usando la User Interface di Kendo (Kendo_UI), e nella mia applicazione vorrei aggiungere una combobox legata ad un db sql Server
questo è il codice:
codice:
<!doctype html>
<html>
<head>
<title>Binding to remote data</title>
</head>
<body>
<div id="example" class="k-content">
Select a title from Netflix:
<input id="titles"/>
<script>
$(document).ready(function() {
$("#titles").kendoComboBox({
index: 0,
dataTextField: "Name",
dataValueField: "Id",
filter: "contains",
dataSource: {
type: "odata",
serverFiltering: true,
serverPaging: true,
pageSize: 20,
transport: {
read: "http://odata.netflix.com/Catalog/Titles"
}
}
});
});
</script>
</div>
</body>
</html>
come faccio a legare qwuesta combobox al mio db???
ringrazio anticipatamente!!!