Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,
I am return a datatable with following data and data-structure

SQL
Admin|BLG_MB| NULL
CHAIRS| 2788|MICHEAL
CHAIRS| 278|MIC
CHAIRS| 288|TYSAN
CHAIRS| 28|MICK
Cabin|BLG_COB| NULL
PC| 2788|SHAWN1
PC| 1788|SHAWN2
PC| 18|SHAWN3
PC| 10|SHAWN4


I want to bind this with gridview ,the column which contain null should be header
and the column without null shold be its data (body).
XML
<pre lang="SQL">Admin|BLG_MB| NULL   ----- header
CHAIRS| 2788|MICHEAL
CHAIRS| 278|MIC
CHAIRS| 288|TYSAN
CHAIRS| 28|MICK
Cabin|BLG_COB| NULL <pre> ----- header
PC| 2788|SHAWN1
PC| 1788|SHAWN2
PC| 18|SHAWN3
PC| 10|SHAWN4&lt;/pre&gt;</pre>


when i print this gridview the header shold be repeated on the next page after page break.
Posted
Comments
So, where is the issue?
aassaahh 27-Jan-14 22:58pm    
my header should ie:Admin|BLG_MB| NULL
Cabin|BLG_COB| NULL
should repeat on to next print page .

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900