Skip to content

Commit 459c65b

Browse files
Update Index.cshtml
1 parent 3b7fa26 commit 459c65b

File tree

1 file changed

+6
-6
lines changed
  • Binding MS SQL database using CustomAdaptor/Grid_MSSQL/Pages

1 file changed

+6
-6
lines changed

Binding MS SQL database using CustomAdaptor/Grid_MSSQL/Pages/Index.cshtml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@
6464
let grid = document.getElementById("Grid").ej2_instances[0];
6565
if (grid) {
6666
let dataManager = new ejs.data.DataManager({
67-
url: "https://localhost:7018/api/Grid", // Corrected URL
68-
insertUrl: 'https://localhost:7018/api/Grid/Insert',
69-
updateUrl: 'https://localhost:7018/api/Grid/Update',
70-
removeUrl: 'https://localhost:7018/api/Grid/Remove',
71-
// Enable batch URL when batch editing is enabled.
72-
//batchUrl: 'https://localhost:7018/api/Grid/BatchUpdate',
67+
url: "https://localhost:xxxx/api/Grid", // Corrected URL
68+
insertUrl: 'https://localhost:xxxx/api/Grid/Insert',
69+
updateUrl: 'https://localhost:xxxx/api/Grid/Update',
70+
removeUrl: 'https://localhost:xxxx/api/Grid/Remove',
71+
// Enable batch URL when batch editing is enabled.
72+
//batchUrl: 'https://localhost:xxxx/api/Grid/BatchUpdate',
7373
adaptor: new CustomAdaptor(),
7474
});
7575
grid.dataSource = dataManager;

0 commit comments

Comments
 (0)