Handle the DataGridView SelectionChanged event:
private void myDataGridView_SelectionChanged(object sender, EventArgs e)
{
if (myDataGridView.SelectedCells.Count > 0)
{
myTextBoxToHoldTheData.Text = myDataGridView.SelectedCells[0].Value.ToString();
}
}