how to render grid in divs?
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
can any one guide me that i want to render grid view in divs instead of tables. is this possible or not??
Government Dyal Singh College Lahore.
-
can any one guide me that i want to render grid view in divs instead of tables. is this possible or not??
Government Dyal Singh College Lahore.
You could use a custom CSS Control Adapter for something like that. http://weblogs.asp.net/scottgu/archive/2006/05/02/CSS-Control-Adapter-Toolkit-for-ASP.NET-2.0-.aspx[^] http://www.asp.net/cssadapters/gridview.aspx[^] I can understand wanting a cleaner
<table>
output, which is what the ASP.NET team's control adapter should afford you, but I'm curious as to why would you want to use<div>
tags when the natural output for a gridview is tabular?