コード例 #1
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            string UserName = txtUserName.Text;

            SecureString Password = new SecureString();

            foreach (char c in txtPassword.Text)
            {
                Password.AppendChar(c);
            }
            string Url = txtURL.Text;

            DAL.DAL ConnectionObj = new DAL.DAL();
            ConnectionObj.Connection(UserName, Password, Url);
            // displaylbl.Text = "Items Inserted";
        }