1
Answer

Fixed header in a gridview (both horizontally and vertically)

jesbon

jesbon

15y
7.6k
1

Hi,
How to get a fixed header both horizontally and vertically in a gridview?
 
I have my gridview located in a scrollable (auto) panel control and want to have the header row fixed. I want it always visible and when I scroll horizontally I want that the header row should follow so that I can see headers for columns all the time.
 
I have just found solutions for making the header row fixed vertically but I need it to be fixed both vertically and horizontally. Any ideas/solutions is highly appreciated. 
Answers (1)
1
Vinay Singh

Vinay Singh

NA 5.9k 126.1k 8y
Hi check the link
http://www.aspsnippets.com/Articles/Create-and-Drop-SQL-Server-Table-programmatically-using-ADONet-C-and-VBNet.aspx
For insert record in table
http://www.aspsnippets.com/Articles/Using-SqlBulkCopy-to-import-Excel-SpreadSheet-data-into-SQL-Server-in-ASPNet-using-C-and-VBNet.aspx
Accepted
0
Vishal Jadav

Vishal Jadav

NA 1.7k 58k 8y
Hi,
Its just the idea, try to use the import functionality of SQL server.
Hope it helps.
Thanks.