TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nepethya Rana
NA
335
152k
How do i clear rows in Excel using EPPLus library ?
Oct 18 2017 4:30 PM
How do i clear rows in Excel using EPPLus library ?
Right now I am providing hard code value as I know the number of rows in excel that has data in it.
I would like my program knows how to clear the excel and import new data everytime in excel sheet.
How do i acheieve this ?
My code :
using (ExcelPackage xlPackage = new ExcelPackage(new System.IO.FileInfo(sourcefile + fileName)))
{
ExcelWorksheet ws = xlPackage.Workbook.Worksheets[myWS];
ws.DeleteRow(2, 300);
// Other codes to import data.
}
Reply
Answers (
3
)
how to convert uri response of text/html chartset:iso-8859-1
[Discussion] - Best class to CRUED