Exemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Session["UserName"] == null)
            {
                Response.Redirect("FrmLogin.aspx");
            }

            BD.BindActi(DdlActivity, Session["BRCD"].ToString());
            TxtDate.Text = Session["EntryDate"].ToString();
            TxtDate.Focus();
        }
    }