Button on GridView that goes to DetailsView
Hi. I am new to ASP.NET and am reading through the Wrox Beginning ASP.NET 2.0 as I work on a website for my work. On page 273 on that book it states that "Gridview is a special case because it does not directly support the addition of new records. The most common path is to display existing records in the GridView and create a button on the GridView that goes to a DetailsView..."
I don't see this actually explained and was wondering if anyone here knew how to do it?? I want to add a button to the GridView so that the Details view isn't displayed until the button is pressed. I am working in C#.
Thanks for any help you can offer.
|