I have a gridview in asp.net. Inside that I have a template field control(Link button named "Details" in all the rows). When I click that link button the details of that particular row should be displayed.

Say suppose three records are there. When I click the link button in the first row I need to get that details displayed right below the first row itself.

So I need to expand the row of my gridview. Similarly the second row details below the 2nd row and so on. No idea of how to implement it.

Someone help.

And one more thing, when I click the link button again I need to hide the details.

I'm using asp.net C# and ms-access DB. .

I myself found a similar article here in this site...

Have a look at this article: Editable Nested GridView (All-in-One)[^]