int mark = Convert.ToInt32(TextBox1.Text); if(mark>=80)//mark entered into TextBox 1 { Label1.Text = "A"};//The grade to be displayed on the label immediately after typing.
$(textbox selector).blur(function () { switch statement to set the label... });
private void textBox1_TextChanged(object sender, EventArgs e) { label1.Text = //assign text to label which you want to display. }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)