Note that there are some explanatory texts on larger screens.

plurals
  1. POWinForm binding radio button
    text
    copied!<p>I use VS2010 and then drag and drop Member datagridview to design view. After that I drag and drop name member textfield to design view and then try to edit and save. It's work properly. </p> <p>And then I drag and drop sex radio button to design view. But binding it does't work.</p> <p>How can I binding in this situation?</p> <pre><code>using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Test7 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void memberBindingNavigatorSaveItem_Click(object sender, EventArgs e) { this.Validate(); this.memberBindingSource.EndEdit(); this.tableAdapterManager.UpdateAll(this.dbDataSet); } private void Form1_Load(object sender, EventArgs e) { // TODO: This line of code loads data into the 'dbDataSet.Member' table. You can move, or remove it, as needed. this.memberTableAdapter.Fill(this.dbDataSet.Member); // TODO: This line of code loads data into the 'dbDataSet.Member' table. You can move, or remove it, as needed. this.memberTableAdapter.Fill(this.dbDataSet.Member); } private void memberBindingNavigatorSaveItem_Click_1(object sender, EventArgs e) { this.Validate(); this.memberBindingSource.EndEdit(); this.tableAdapterManager.UpdateAll(this.dbDataSet); } } } </code></pre> <p><img src="https://i.stack.imgur.com/gYSZp.jpg" alt="enter image description here"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload