Hey guys, I have an issue with C# I am trying to set a detailsview with dataset info like:

DetailsView1.DataSource = ds123;

It is from inside a Gridview SelectedIndexChanged event handler, but it is giving me an error message "DetailsView1 does not exist in current context.

How do I fix this?