Click here to Skip to main content
15,899,026 members

Comments by ns_27 (Top 14 by date)

ns_27 3-Sep-12 3:25am View    
Thanks For Answer... :)
ns_27 24-Aug-12 2:15am View    
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
txtmop.Text=(int.Parse(txtdp.Text.ToString()))-(int.Parse(txtdp.Text.ToString())*((int.Parse(comboBox1.SelectedValue.ToString()))/100)).ToString();
}

Still getting same error !!!
ns_27 23-Aug-12 8:18am View    
Thank you so much for your code. !!!
ns_27 23-Aug-12 8:16am View    
I wrote this code...
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
txtmop.Text.ToString()=(int.Parse(txtdp.Text.ToString()))-(int.Parse(txtdp.Text.ToString())*((int.Parse(comboBox1.SelectedValue.ToString()))/100)).ToString();
}


Error 1 Operator '-' cannot be applied to operands of type 'int'

This error i am getting.. plz help me to resolve it. Thanks !!
ns_27 23-Aug-12 8:03am View    
Deleted
I have wrote below code...

private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
ToString().txtmop.Text=(int.Parse(txtdp.Text)-(int.Parse(txtdp.Text)*((int.Parse(comboBox1.SelectedValue.ToString())))/100)).ToString();
}

still getting error. plz help