title: Display dataset in datagrid?
body: <p>I have tried googling so much that I have given up trying to look. </p>
  
  <p>I am trying to display a dataset in a wpf datagrid. After that I am going to need to display the individual column value in textboxes. I can then change the value in those textboxes and pressing, say, a commit button, to commit the changes to a database. Here's the code I have so far. </p>
  
  <p>`
          Dim con As New SqlConnection
          Dim dbConnString As String
          Dim ds As New DataSet
          Dim da As New SqlDataAdapter
          Dim sqlStatement As String</p>
  
  <pre><code>    dbConnString = "Data Source=SG2;Initial Catalog=RovisysAsiaITAssets;User ID=sa;Password=Rovisys2012"
      con.ConnectionString = dbConnString
      con.Open()
  
      sqlStatement = "SELECT * FROM TabletInventory"
      da = New SqlDataAdapter(sqlStatement, con)
      da.Fill(ds, "TabletInventory")
  </code></pre>
  
  <p>`</p>
  
  <p>can anybody help me? Even a pointer to a reading would be fine. Thanks!</p>