ViewState data is the data that the ASP.NET encoded end passes to the client in a hidden _ViewState field. This is basically a page, as it was when it was sent to the client.
PostBack data is the data that the user sends.
For example, suppose you have a text box on a page defined like this:
<asp:TextBox id="TextBox1" runat="server" text="Some Text" />
You enter My user input in the text box and submit the form. Some Text will represent ViewState data, and My user input will represent PostBack data.
EDIT . And if you want to know more about ViewState, there is a great article here: A True Understanding of Viewstate .
R0MANARMY
source share