示例#1
0
    protected void RegImageButton_Click(object sender, ImageClickEventArgs e)
    {
        /*forecolor initialization*/
        EmailLabel.ForeColor    = Color.Black;
        NameLabel.ForeColor     = Color.Black;
        ConfirmLabel.ForeColor  = Color.Black;
        PasswordLabel.ForeColor = Color.Black;
        GenderLabel.ForeColor   = Color.Black;
        DOBLabel.ForeColor      = Color.Black;

        if (RegChcek())// insert value if valid
        {
            DSUser.Update();
            InfoLabel.Text = "Your Information has been successfully Updated!";
        }
    }
示例#2
0
 public DSRouterUser(DSUser dsUser)
 {
     UserID = dsUser.UserID;
     UserName = dsUser.UserName;
     UserComment = dsUser.UserComment;
     DsRouterUserGroup = new DSRouterUserGroup(dsUser.DsUserGroup);
     CreateDateTime = dsUser.CreateDateTime;
     EditDateTime = dsUser.EditDateTime;
 }
示例#3
0
 protected override void DoCriaDataSet(out System.Data.DataSet dataSet)
 {
     dataSet = new DSUser();
 }