I got a new task for a different kind of gridview.开发者_JS百科 How do I create this type of gridview?
Just create the HTML table using TemplateFields:
http://msdn.microsoft.com/en-us/library/bb288032.aspx
Better still use a DataList:
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/data/datalist.aspx
It can be done using two nested gridviews: a gridview in the template field of another gridview.
A Label accept to use HTML, just put the tags in there starting with <html>
.
Maybe it's possible to do what you want.
精彩评论