title: How to get data from google spread sheets in c#
body: <p>I want to read the data in google spread using c#.I am able to authenticate google drive but I am unable to read the data in google spread sheet.I have used following code </p>
  
  <pre><code>   SpreadsheetsService myService = new SpreadsheetsService("Sample ProjectSheets");
       myService.setUserCredentials(My emailid, My password);
      SpreadsheetQuery query = new SpreadsheetQuery();
      SpreadsheetFeed feed = myService.Query(query);
  </code></pre>
  
  <p>In the above code , I am getting exception at  <strong>myService.Query(query)</strong> as <strong>An unhandled exception of type 'Google.GData.Client.GDataRequestException' occurred in Google.GData.Client.dll</strong>  and build the above code by refering following link:<a href="https://stackoverflow.com/questions/725627/accessing-google-spreadsheets-with-c-sharp-using-google-data-api?noredirect=1&amp;lq=1">Accessing Google Spreadsheets with C# using Google Data API</a>.
  I have one more doubt what to mention as <strong><em>application name</em></strong> in <strong>SpreadsheetsService</strong> object.</p>