I have a GridView and a DetailsView in a ASP.NET webpage, I will need to extract either one or the other for its information and I've made a function for this. Both GridView and DetailsView have a property named Rows which is what I need to use in my function. I have a GridView and a DetailsView in a ASP.NE