I don't know why, but you are trying to convert the text "textbox1.Text" to an integer, not the value in the textbox:
protected void RadioButton2_CheckedChanged(object sender, EventArgs e)
{
int no1, no2;
float ans;
no1 = Convert.ToInt32(textbox2.Text);
no2 = Convert.ToInt32(textbox3.Text);
ans = no1 - no2;
Label2.Text = ans.ToString();
}
protected void RadioButton1_CheckedChanged(object sender, EventArgs e)
{
int no1, no2;
float ans;
no1 = Convert.ToInt32(textbox2.Text);
no2 = Convert.ToInt32(textbox3.Text);
ans = no1 + no2;
Label2.Text = ans.ToString();
}
protected void RadioButton3_CheckedChanged(object sender, EventArgs e)
{
int no1, no2;
float ans;
no1 = Convert.ToInt32(textbox2.Text);
no2 = Convert.ToInt32(textbox3.Text);
ans = no1 * no2;
Label2.Text = ans.ToString();
}
protected void RadioButton4_CheckedChanged(object sender, EventArgs e)
{
int no1, no2;
float ans;
no1 = Convert.ToInt16(textbox2.Text);
no2 = Convert.ToInt16(textbox3.Text);
ans = no1 /no2;
Label2.Text =ans.ToString();
}