I have a grid view displaying search results.
Once a field is selected, the data should be displayed in text boxes.
What's the code to fill text boxes when a row of a data grid view is clicked?
I've tried the code that is shown below. It returns an error.
TextBox1.Text = GridView1.SelectedRow[0].Cell[1].Value.ToString();