Get JSON Data formate In Asp.net (Without any third party libary file) Steps 1: Nessary Namespace __ using System.Web.Script.Serialization; Steps 2: put the Folloing code__ [WebMethod] public void getAllTheData() { SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["con"].ToString()); con.Open(); List<employee> emp = new List<employee>(); SqlCommand cmd = new SqlCommand("spgetData", con); ...
This Blog is for study and coding reference purpose.