how to post serialized data in asp.net webform -


public class product {     public int productid { get; set; }     public string productname { get; set; }     public decimal unitprice { get; set; } } 

i want take list<product> , post serialized data page (really .ashx page), possible in asp.net web forms?

update know can use session pass generic list handler better post serialized data? pros , cons please? 1 better other heavy loads?

one way using system.web.script.serialization.javascriptserializer serializes , json format.

http://msdn.microsoft.com/en-us/library/system.web.script.serialization.javascriptserializer.aspx


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -