skip to Main Content

C# : How to Deserialize json data – Asp.net

How to deserialized this type of json file usig C# My Json [{"data":{"CRC":"a459","PC":"3000","TID":"e2806810200000040a0652c8","antenna":3,"channel":922.75,"eventNum":396,"format":"epc","idHex":"e28068100000003c0a0652c8","peakRssi":-36,"phase":0.0,"reads":36},"timestamp":"2022-09-19T09:03:26.445+0700","type":"SIMPLE"}] My Model public class TagRead{ public string TID { get; set; } } public class Hdr{ public List<TagRead> data { get; set; } } My Controller public…

VIEW QUESTION

Exception thrown: 'System.Data.SqlClient.SqlException' in System.Data.dll Additional information: Error converting data type varchar to bigint. in C# – Asp.net

This Is My Codding i have face this type of error in my code (Exception thrown: 'System.Data.SqlClient.SqlException' in System.Data.dll Additional information: Error converting data type varchar to bigint Update Query:___________________________________ private void btnUpdate_Click(object sender, EventArgs e) { query = ("update…

VIEW QUESTION
Back To Top
Search