title: WPF binding data from datagrid to textbox
body: <p>i'm new to WPF and still learn on it. I create a sample application and connect to the database. After i select data to the database, i can show it into my datagrid. Now, my concern is i want to bind to textbox depends on the row from my datagrid. </p>
  
  <p>so, whenever i click or select row in my datagrid, i bind the value to textbox. i already do some google and tried. but still failed. is there any solution? thanks. </p>
  
  <p>here is my application picture. 
  <img src="https://i.stack.imgur.com/4sS1e.png" alt="enter image description here"></p>
  
  <p>how is the xaml look like to bind for example row no 3 to my textbox? is there any class i should implement? because in windows form i just need to call cellclick. thanks. </p>