Hello Friends!
I need your help, I have a strnge error.....
private void cbDesMensalidade_SelectedValueChanged(object sender, EventArgs e)
{
if (cbDesMensalidade.SelectedIndex != -1)
{
this.tbValorDesc.Text = (nc.getValorAluno(tbRefCadastro.Text) - (nc.getValorAluno(this.tbRefCadastro.Text) * ((Convert.ToInt32(cbDesMensalidade.SelectedValue)) / 100))).ToString();
}
}
The error is "Unable to cast object of type 'RH_2013.DAL.CombAdd' to type 'System.IConvertible'."
Please Help
Akhil GargPosted May 4, 2015, 5:43 PM
https://msdn.microsoft.com/en-us/library/system.invalidcastexception%28v=vs.110%29.aspx
Sousa PamboPosted May 4, 2015, 7:37 AM
Akhil GargPosted May 4, 2015, 6:38 AM