예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            //if (User.Identity.IsAuthenticated == false)
            //    Response.Redirect("~/19111973/Default.aspx");
            //if (User.IsInRole("Add Stock") == false && User.IsInRole("Admin") == false)
            //    Response.Redirect("~/19111973/AdminHome.aspx");

            con = new SqlConnection(ConfigurationManager.ConnectionStrings["conn"].ConnectionString);
            ProductCode.Focus();
        }