Konversi dataset ke JSON
Setelah muter2 ketemu juga akhirnya. Biar gampangnya, serialisasi ke JSON menggunakan library JSON.NET, di websitenya ada beberapa versi tergantung versi .net framework yang digunakan. BTW, ini kodenya : 1: Imports Newtonsoft.Json 2: Private Function GetCustomer() As String 3: Dim retVal As String = “” 4: Dim ds As DataSet = DAL.Customer.GetCustomers 5: 6: If ds [...]
