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
152.8k
how to choose file path to save file asp.net webform dynamic
Jul 25 2017 11:23 AM
I have already created a dll which has function that loads dataset to xls file.
I am trying to use the same dll for the task. Function takes two parameters, filePath with file name and dataset, and it does is create xlsx file
in the destination with the data.
Now i have to let user to decide to whereever they want to create (save) that xls file in their machine.
How could i achieve this task in asp.net web form.
My code is something like this:
protected void btnExport_Click(object sender, EventArgs e)
{
DataSet dataSet = new DataSet();
//code to get data from database
sqlDataAdapter.Fill(dataSet);
string fullFileName = filePath + fileName;
ExcelUtility.ExportDataSetToExcel(fullFileName, dataSet);
}
I want user to set fullFileName. How do i do this?
Please help.
Reply
Answers (
1
)
Angularjs validation
Filter Data on dropdown item select