コード例 #1
0
        protected void Button2_click(object sender, EventArgs e)
        {
            NewsLetter n = new NewsLetter
            {
                EmailAd = email.Value
            };

            sc.AddSubscriber(n);
            Response.Redirect("Home.aspx");
        }