|
|
 |
FN-FORUM: C# Help
date posted 8th February 2008 15:33
Hi,
Im tinkering with a tutorial / sample code which was given in VB.Net, =
and i have converted into c#. However i keep getting an error with this =
code:
if ((int.Parse(intCurrIndex.Text) + (1 < =
int.Parse(intRecordCount.Text))))
{
intCurrIndex.Text =3D ((int.Parse(intCurrIndex.Text) + =
int.Parse(intPageSize.Text))).ToString();
}
The error says: Operator '+' cannot be applied to operands of type =
'short' and 'bool'
Can anyone help me format / rectify this.
Thanks.
Regards
Phill Healey
Munklefish
Po Box 70
Manchester
M34 3SQ
T: 0161 408 4759
=20
=EF=80=A0=EF=81=90 Please consider the environment before printing.
|
 |
|