Get JSON string from Database in ASP.Net using C# and VB.Net

satabeach
 
on Jun 28, 2022 03:44 AM
249 Views

How can I get below json string using vb.net from database.

{
    "data": {
        "attributes": {
            "productId": "250",
            "prdname": "Apple",
            "qty": "20"
        }
    }
}

 

Download FREE API for Word, Excel and PDF in ASP.Net: Download