You will have populated your text box from a Person object, one imagines?
so when you want to save, move the changed data from the text box back into the appropriate property in the person object,
theperson.Firstname = txtFirstname.Text;
then
PersonRepository.Save(thePerson);
if you are not populating your textboxes from a person object then you need to...
Person thePerson = Repository.Find(1);
txtFirstname.Text = thePerson.Firstname;