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!"; } }
public DSRouterUser(DSUser dsUser) { UserID = dsUser.UserID; UserName = dsUser.UserName; UserComment = dsUser.UserComment; DsRouterUserGroup = new DSRouterUserGroup(dsUser.DsUserGroup); CreateDateTime = dsUser.CreateDateTime; EditDateTime = dsUser.EditDateTime; }
protected override void DoCriaDataSet(out System.Data.DataSet dataSet) { dataSet = new DSUser(); }