title: How to get field value of selected Row Devexpress GridView?
body: <p>I use a DevexpressGridView to display all <code>TOPIC (id,title,content)</code></p>
  
  <pre><code>&lt;dx:ASPxGridView ID="gv" runat="server"
  OnSelectionChanged="gv_SelectionChanged" &gt;
  </code></pre>
  
  <p>I have grid_SelectionChanged event:</p>
  
  <pre><code>protected void gv_SelectionChanged(object sender, EventArgs e)
      {
  
          int id= selected row...???; //how can I get the value of selected row
          string sql = "select * from TOPIC where idTOPIC="+id;
          DataTable topic = l.EXECUTEQUERYSQL(sql);
          TextBox1.Text = topic.Rows[0][1].ToString();
      }
  </code></pre>
  
  <p>...</p>
  
  <p>It seems <code>gv.SelectedRow</code> method isn't exist in DevGridview.</p>
  
  <p>As recommended, I've tried with <code>FocusedRowIndex</code> method, but I really dont know the right syntax to get the value of selected row. </p>
  
  <p>Help!!!</p>