Hi. I have declared two variables at the top of my web form
Dim xSQLAdapter_Periods As SqlDataAdapter
Dim xSQLTable_Periods As New DataTable
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
I need to use these variables in the code behind the webform several times while the page is running but am worried about whether they will hold their values. I have noticed that variables seem to lose their values after a post back. Should they hold or should I use a different approach?