Hi,
I'm using a global class to initialize and use global vars:
public class GlobalData
{
public static DataTable dt = null;
public static int nCurrentTeamInd ex = 0;
public static bool fFirstTime = true;
public static bool fEditMode = false;
public static bool fSuperUser = false;
public static string strCurrentPassw ord = "";
}
However, I noticed that the data isn't always initialized whenever I start up the app. Specifically, sometimes GlobalData.fFir stTime = false
(And, yes, I set the doc's enableViewState to false ...)
Why is that?
Thx,
Oran
I'm using a global class to initialize and use global vars:
public class GlobalData
{
public static DataTable dt = null;
public static int nCurrentTeamInd ex = 0;
public static bool fFirstTime = true;
public static bool fEditMode = false;
public static bool fSuperUser = false;
public static string strCurrentPassw ord = "";
}
However, I noticed that the data isn't always initialized whenever I start up the app. Specifically, sometimes GlobalData.fFir stTime = false
(And, yes, I set the doc's enableViewState to false ...)
Why is that?
Thx,
Oran