Click to See Complete Forum and Search --> : Adding header and footer in gridview


dummyagain
December 18th, 2006, 12:40 AM
I use C# and asp.net for creating the gridview. However, I would like to know how to create the footer and header when there is no record?

Thank you

MMH
December 29th, 2006, 05:19 AM
rightclick on gridview and click properties, under propertiy, click columns(collection)....
a window will appear. there you will find some tabs like general, columns,paging, etc....
select general, and check show footer and show header............
then even if ur table doesnt have any records, it will show headers n footers..........