KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How to bind a TextBox to an integer? For example, binding unit to textBox1. public partial class Form1 : Form { int unit; public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { textBox1.DataBindings.Add("Text", unit, "???"); }
Tags (comma-separated)
Save Edits
Cancel