2
Reply

Search from Multiple filepath

ok ok

ok ok

Feb 6 2017 10:35 AM
196

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 ?
 
  1. protected void gvEmployeeDetails_RowCommand(object sender, GridViewCommandEventArgs e)  
  2.     {  
  3.         if (e.CommandName == "Download")  
  4.         {  
  5.             Response.Clear();  
  6.             Response.ContentType = "application/octect-stream";  
  7.             Response.AppendHeader("content-disposition""filename=" + e.CommandArgument);  
  8.             Response.TransmitFile(("S:/Acc/Odoc/EMENTS/GRADE/") + e.CommandArgument);  
  9.             Response.TransmitFile(("S:/Acc1/Odoc/EMENTS/GRADE/") + e.CommandArgument);  
  10.             Response.End();  
  11.   
  12.   
  13.         } 
 

Answers (2)