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
narasiman rao
NA
519
768.8k
Import the excel file using file upload option
Aug 28 2014 4:33 AM
My code as follows
protected void btnimport_Click(object sender, EventArgs e)
{
string path = System.IO.Path.GetFileName(fileupload15.PostedFile.FileName);
fileupload15.PostedFile.SaveAs(Server.MapPath("~/Import_Excel/" + path));
GvSch.DataSource = ImportExcelXLS(path, false, out message);
GvSch.DataBind();
}
i create a new folder name called Import_Excel in that folder i want to save the selected excel file.
In run mode i click the choose file and select the excel file and click import button
When i run the above code shows error as follows
ilistsource does not contain any data sources
please help me.
what is the mistake from my above code.
Reply
Answers (
3
)
after login user redirected to pages
Windows CE application to Print barcodes to Zebra Ql220