This article is a mirror article of machine translation, please click here to jump to the original article.

View: 14753|Reply: 2

[ASP.NET] I can't get the value of Json in the bootstrap table

[Copy link]
Posted on 4/26/2019 10:00:20 AM | | |
The younger brother is a beginner who is just starting out.
in contoller      
           List<Dept> data = new List<Dept>();
            var total = data. Count;
            var rows = data. Skip(offset). Take(limit). ToList();
            return Json(new { total = total, rows = rows }, JsonRequestBehavior.AllowGet);


I can't get the value of Json in the foreground bootstrap table.




Previous:JS strings and ASCII codes are converted to each other
Next:MySQL uses mysqldump to export data with conditions
Posted on 4/26/2019 10:26:04 AM |
Take a screenshot to see if the network request has sent a get request to the controller data interface.
Posted on 4/26/2019 2:03:04 PM |
I had the same experience
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com