James123
James123

Reputation: 11652

How to make this gridview in ASP.NET?

I got a new task for a different kind of gridview. How do I create this type of gridview?

alt text

Upvotes: 1

Views: 203

Answers (3)

Ali Tarhini
Ali Tarhini

Reputation: 5358

It can be done using two nested gridviews: a gridview in the template field of another gridview.

Upvotes: 1

IrishChieftain
IrishChieftain

Reputation: 15253

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

Upvotes: 3

alansiqueira27
alansiqueira27

Reputation: 8506

A Label accept to use HTML, just put the tags in there starting with <html>. Maybe it's possible to do what you want.

Upvotes: -3

Related Questions