Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27512

[RESOLVED] Conversion Problem???

$
0
0
Hi guys.. i am having problems with this code:

Code:

dsNewRow.Item(4) = 6.41 * CDec(DateDiff(DateInterval.Hour, TxtTimein.Text, TxtTimeOut.Text))
It just doesn't allow it. i have option strict on. it says conversion to type STRING isn't allowed :/

All i want to do is to get the difference between the times and to times it by a number :/

Please help

Viewing all articles
Browse latest Browse all 27512

Trending Articles