18 March 2012

Difference between view state and a hidden field in asp.net

Difference between view state and a hidden field in asp.net

Both are used to store the value during the postback in asp.net , but

In View state -  not able to change the value by Client side code i.e java script.
Hidden field - possible to change value by Client side code.

In View state - You can store more than one value like Datatable ,Dataset,Collections and Object.
Hidden field - You can store only one value in hidden field





1 comment:

Comments Welcome

Consistency level in Azure cosmos db

 Consistency level in Azure cosmos db Azure Cosmos DB offers five well-defined consistency levels to provide developers with the flexibility...