I have this code...
I am using visual c# 2005 beta. I have created the textbox and I want to put the varible health in the textbox so it draws the variable health. But I get an error when I put textBox_health.Text = health; at that spot. Where should I put it?Code:namespace Drug_Wars
{
partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
int health = 100;
}
textBox_health.Text = health;
}
}