View Full Version : C Sharp - DetailsView1 does not exist

05-21-2012, 09:15 PM
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?