If I create a dataset within the PageLoad of a webform, AND, I create this only if the page is NOT a PostBack, then why can't I access my dataset later on if I attach code to another control?
Surely I don't have to attach each dataset to a viewstate do I?
Example.
If the page is loaded and it's NOT a postback then create a dataset with a table and response.write the table count of the dataset. Result = 1.
On a textbox control, when I press return (thus forcing a postback), Response.Write the table count of the dataset. Result = 0.

Surely I don't have to attach each dataset to a viewstate do I?
Example.
If the page is loaded and it's NOT a postback then create a dataset with a table and response.write the table count of the dataset. Result = 1.
On a textbox control, when I press return (thus forcing a postback), Response.Write the table count of the dataset. Result = 0.
