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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
White Evaln26 reputationPosted Sep 11, 2012, 9:54 PM EDT
//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!
Dhanashri Patil33 reputationPosted Sep 11, 2012, 9:56 PM EDT
Satyapriya NayakRank #47 · 31.5K reputationPosted Sep 11, 2012, 10:16 PM EDT
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 Patil33 reputationPosted Sep 11, 2012, 11:11 PM EDT
Dhanashri Patil33 reputationPosted Sep 11, 2012, 11:13 PM EDT
Dhanashri Patil33 reputationPosted Sep 11, 2012, 11:30 PM EDT
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