title: Is there a way to get a cell value from the selected row in DBGrid? (Delphi)
body: <p>First of all, I'm pretty new to Delphi.</p>
  <p>I have a <code>DBGrid</code> connected to a <code>DataSource</code> and filled up with data from an SQL server. What I want to achieve is that when I press a button, it brings up a new window with comboboxes/editboxes, all filled up with the previously selected (in <code>DBGrid</code>) row's data and modify them and execute an <code>UPDATE</code> query.</p>
  <p>In order to do that, I need the primary key value of the selected record, so my little program would know which row should it display and update.</p>
  <p>My question is, how can I get a specific cell value (in this case, an id) of a selected record from a <code>DBGrid</code>?</p>