protected void btnSave_Click(object sender, EventArgs e) { var updated = DBWriteManager.UpdateUserProfile( txtUserName.SID, txtTel.Text ); MessageBox.Show(updated > 0 ? "User profile updated successfully." : "There was a problem updating user profile."); }