i got a problem with grid view ,because I’m new to asp.net(10 days),so i donno how to do it,so can you guyz please help me out this problem..
i have a simple gridview ,and i have to make new grid with row value as column header name
Empname Earnngs Amount
Austin HRA 20,000$
Austin DA 1,000$
Austin Basic 5,000$
and i have to make like this
.Austin HRA DA BASIC
2000$ 2000$ 2000$
Please give some idea and some examples using C# to do it
Here is an example of doing this using an asp GridView:
See these:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview(v=VS.100).aspx
http://msdn.microsoft.com/en-us/library/system.data.datatable.aspx
http://msdn.microsoft.com/en-us/library/system.data.datacolumn.aspx