Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Search from Multiple filepath
ok ok
Feb 6 2017 10:35 AM
196
Reply
experts,
i would like to search files from multiple file path . how to achieve the same . current code is searching from one filepath only . need to search the same from multiple file path.
current code which is not working ?
protected
void
gvEmployeeDetails_RowCommand(object sender, GridViewCommandEventArgs e)
{
if
(e.CommandName ==
"Download"
)
{
Response.Clear();
Response.ContentType =
"application/octect-stream"
;
Response.AppendHeader(
"content-disposition"
,
"filename="
+ e.CommandArgument);
Response.TransmitFile((
"S:/Acc/Odoc/EMENTS/GRADE/"
) + e.CommandArgument);
Response.TransmitFile((
"S:/Acc1/Odoc/EMENTS/GRADE/"
) + e.CommandArgument);
Response.End();
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Items collection cannot be modified when the DataSource prop
I have a C# program that I cannot get to work. Seems easy:(