albertkhor
Well-known member
- Joined
- Jan 12, 2006
- Messages
- 150
- Programming Experience
- Beginner
Header on Datagrid
my excel hv data n without header, so when i bind with datagrid my first row data with before header in datagrid! i want to avoid this, can someone teach me? What i want is like below:
Column1 Column2 <------- i want system auto display the column number
Sample1 0132736475
Sample2 0172837465
the result i get now in datagrid, u can notice that the first row data in excel will auto become header:
my excel hv data n without header, so when i bind with datagrid my first row data with before header in datagrid! i want to avoid this, can someone teach me? What i want is like below:
Column1 Column2 <------- i want system auto display the column number
Sample1 0132736475
Sample2 0172837465
the result i get now in datagrid, u can notice that the first row data in excel will auto become header:
Attachments
Last edited: