title: Bindingsource datagridview click fill data in textbox
body: <p>I have a <code>datagridview</code> which is bind from a <code>bindingsource</code> I really try to find out how onclick row on <code>datagridview</code> the row data fill in the TextBox. Because I want to show some data on combobox according selection on datagridview. My code for bind the datagridview  is below </p>
  
  <pre><code>private void FillGrid()
  {
      if (_fisComp == null)
          _fisComp = new FiscalComponent();
  
      List&lt;FiscalPeriod&gt; _fisPeriod = _fisComp.GetAllByFiscalPeriod(Convert.ToString(fiscalYearComboBox.SelectedValue));
  
      fiscalPeriodBindingSource.DataSource = _fisPeriod;
      fiscalPeriodDataGridView.Refresh();
  }
  </code></pre>
  
  <p>I am binding my datagridview by list&lt;> type . The problem is that I am getting data from my stored procedure <code>Y~</code>N` and i want to display in combobox in Yes or No </p>
  
  <p>This code is where I am binding my combobox</p>
  
  <pre><code>    public void FillDropdown()
      {
  
          var itemsleaverun = new BindingList&lt;KeyValuePair&lt;string, string&gt;&gt;();
  
              itemsleaverun.Add(new KeyValuePair&lt;string, string&gt;("Y", "Yes"));
              itemsleaverun.Add(new KeyValuePair&lt;string, string&gt;("N", "No"));
              leaveRunTypeComboBox.DataSource = itemsleaverun;
              leaveRunTypeComboBox.ValueMember = "Key";
              leaveRunTypeComboBox.DisplayMember = "Value";
              leaveRunTypeComboBox.SelectedIndex = 0;
       }
  </code></pre>