protected void Button1_Click(object sender, EventArgs e)
 {
     leica_geosystemsVoteProjectUserAdmin modelpass = bllusername.GetModel(getid());
     int id = getid();
     string username = this.txtusername.Value;
     string passwore = modelpass.Password;
     string Trueusername = this.txtTrueusername.Value;
     string company = this.txtcompany.Value;
     string city = this.txtcity.Value;
     string Phone = this.txtPhone.Value;
     string email = this.txtemail.Value;
     //Response.Write(modelpass.Password);
     //Response.End();
     leica_geosystemsVoteProjectUserAdmin model = new leica_geosystemsVoteProjectUserAdmin();
     model.Id = id;
     model.Username = username;
     model.Password = passwore;
     model.Trueusername = Trueusername;
     model.Company = company;
     model.City = city;
     model.Phone = Phone;
     model.Email = email;
     leica_geosystemsVoteProjectUserAdminManager bll = new leica_geosystemsVoteProjectUserAdminManager();
     bll.Update(model);
     Maticsoft.Common.MessageBox.ShowAndRedirect(this, "保存成功!", "UserList.aspx");
 }
    protected void Button1_Click(object sender, EventArgs e)
    {
        int id = getid();
        leica_geosystemsVoteProjectUserAdmin modelpass = bllusername.GetModel(getid());
        string username = modelpass.Username;
        string passwore = discom.EncryptMD5(txtpassword.Value);
        string Trueusername = modelpass.Trueusername;
        string company = modelpass.Company;
        string city = modelpass.City;
        string Phone = modelpass.Phone;
        string email = modelpass.Email;

        leica_geosystemsVoteProjectUserAdmin model = new leica_geosystemsVoteProjectUserAdmin();
        model.Id = id;
        model.Username = username;
        model.Password = passwore;
        model.Trueusername = Trueusername;
        model.Company = company;
        model.City = city;
        model.Phone = Phone;
        model.Email = email;
        leica_geosystemsVoteProjectUserAdminManager bll = new leica_geosystemsVoteProjectUserAdminManager();
        bll.Update(model);
        Maticsoft.Common.MessageBox.ShowAndRedirect(this, "提交成功!", "UserList.aspx");
    }