title: How to read Excel file in c# by connection string?
body: <p>How to read the excel file and show its data in grid view ? I tried the ODBC provider its working but, it is happening win "Dns=EXCELF", how it will possible with connection sring ? I generate my Excel sheet connection string as :</p>
  
  <p>Provider=MSDASQL.1;Persist Security Info=False;User ID=admin;Data Source=Excel Files;Initial Catalog=D:\Parallelminds\Tryouts\sample.xlsx</p>
  
  <p>Is that wrong ? please guide me. which connection string i have to give there...?</p>