Last post May 26, 2017 02:54 AM by Cathy Zou
May 25, 2017 02:34 PM|nseiV2|LINK
This is the program:
dim data as boolean=true
'dim dt as system.data.datarow
So the error is on the line 3
This is a PHC program and is on the web
May 26, 2017 02:54 AM|Cathy Zou|LINK
To correct this error
1.Check to see if two different statements have inadvertently been put on the same line.
2.Insert a line terminator after the element that completes the statement.
Besides, please look at the following points:
Decimal:The decimal keyword indicates a 128-bit data type. Compared to floating-point types, the decimal type has more precision and a smaller range, which makes it appropriate for financial and monetary calculations
Note: “01.01.1900” not decimal type.
If you want to convert something data to decimal, you should use CDec() method or
Decimal.TryParse () method