G
Guest
I have a MyUser class containing user profiles. Everytime after postback, I
have to reload (access the database) again. Is there any way I can easily
save those data between postbacks? Thanks.
public partial class Login : System.Web.UI.Page
{
MyUser m_MyUser = new MyUser();
...
m_MyUser.LoadDetails(UserID);
...
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
...
}
}
}
have to reload (access the database) again. Is there any way I can easily
save those data between postbacks? Thanks.
public partial class Login : System.Web.UI.Page
{
MyUser m_MyUser = new MyUser();
...
m_MyUser.LoadDetails(UserID);
...
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
...
}
}
}