set a string based on textbox code example Example: c# set textbox text TextBoxName.Text = "Text To Set Here";