time
9.00-10.00
10.00-11.00
11.00-12.00
12.00-1.00
it should store like
| 9.00-10.00 | 10.00-11.00 | 11.00-12.00 | 12.00-1.00 |
| 9.00-10.00 | 10.00-11.00 | 11.00-12.00 | 12.00-1.00 |
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dhanashri PatilPosted Sep 12, 2012, 3:30 AM
time
9.00-10.00
10.00-11.00
11.00-12.00
12.00-1.00
it should store like
Now i want that other data from database insert vertically can you help me?
for eg.
time Subject1 subject2
9.00-10.00 eng math
10.00-11.00 math eng
11.00-12.00 sci gro
12.00-1.00 Mar mar
it should store like
plz help me
Dhanashri PatilPosted Sep 12, 2012, 3:13 AM
Dhanashri PatilPosted Sep 12, 2012, 3:11 AM
Satyapriya NayakPosted Sep 12, 2012, 2:16 AM
Please refer the below link
http://www.c-sharpcorner.com/UploadFile/1a81c5/display-columns-as-rows-in-gridview-in-Asp-Net/
Thanks
If this post helps you mark it as answer
Dhanashri PatilPosted Sep 12, 2012, 1:56 AM
White EvalnPosted Sep 12, 2012, 1:54 AM
and delete the orignal data:
//delete cell data A2 but not its format
worksheet.Range["A2"].Clear(ExcelClearOptions.ClearContent);
//delete the format of A2
worksheet.Range["A2"].Clear(ExcelClearOptions.ClearFormat);
//delete cell data A2 including its format
worksheet.Range["A2"].Clear(ExcelClearOptions.ClearAll);
see details at Excel Data Setup C#. Hope it can help you!