title: How to View Data from MS Access in Data Grid View?
body: <p>I am new in C-Sharp, i am trying to access my Database from C-Sharp, i have written the following code, and i dont know what to write next to view data. I have searched this on net but didnt get much. Kindly tell me this in easy code.</p>
  
  <pre><code>string connection = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=F:\Database3.accdb";
  
  OleDbConnection conn = new OleDbConnection(connection);
  conn.Open();
  OleDbCommand cmd = new OleDbCommand("Select * from score", conn);
  
  OleDbDataAdapter da = new OleDbDataAdapter(cmd);
  da.SelectCommand = cmd;
  </code></pre>