Beispiel #1
0
    protected void btninsert_Click(object sender, EventArgs e)
    {
        Hashtable data=new Hashtable ();
        lblmes .Text ="all";
        string pwd = txtpwd.Text;
        data.Add("t", lblmes.Text);
        data.Add("emp_id", Convert .ToInt32 (Session ["empid"]));
        data .Add ("securityques",cbsecques .SelectedItem .Text );
        data.Add ("password",txtpwd .Text );
        data.Add("length", pwd.Length);
        data .Add ("securityans",txtsecans .Text );

        bll clreg = new bll();
        clreg.registration(data);
        lblmes.Text = "Account Details Saved";
    }