title: How to fetch a excel file from a folder?
body: <p>I'm having a excel file in a folder. but <strong>i dont know to fetch that file from the folder</strong>.</p>
  
  <p>but I'm checking whether the file exists.</p>
  
  <p>here is my code:</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
       string filePath = Server.MapPath("~/Upload/Sample.xlsx");
       bool fileexists = File.Exists(filePath); //Here fileexists = true    
  }
  </code></pre>
  
  <p>I need to save that excel file in sql database.</p>
  
  <p>I need to save the fileName(varchar(256)),Data(varbinary(max)),Path(varchar(256)) of that excel file into sql database.</p>
  
  <p>please help me out</p>