嗨,伙计们,你能帮我处理这个错误吗? [英] Hi guys can you help me to deal with this error pls?
问题描述
它的End os statemente expect错误编号BC30205!请帮忙!伙计们,你能帮我处理这个错误吗?这是一个End os statemente expect错误!
这是程序:
dim data as as boolean = true
'dim dt as system.data.datarow
if CType(mainformdataset.tables(BO3)。rows(0).item(TAXPOINTDT ),system.date)= 01.01.1900
返回错误
ELSE
返回True
结束如果
因此错误在第3行第4行
这是一个PHC计划,是在网上
我尝试过:
我尝试修改程序的IF部分,但我有同样的问题!请帮忙!
这不是日期,然后
缺失。在我的VB版本中,我没有System.Date
,但以下内容就是您所追求的:
CType (mainformdataset.Tables( BO3 )。行( 0 )。项目( TAXPOINTDT),System.DateTime)= 新 DateTime( 1900 , 1 , 1 )然后
Its an "End os statemente expect" error number BC30205! Pls help! Hi guys can you help me to deal with this error pls? Its an "End os statemente expect" error!
This is the program:
dim data as boolean=true
'dim dt as system.data.datarow
if CType(mainformdataset.tables("BO3").rows(0).item("TAXPOINTDT"),system.date)=01.01.1900
Return False
ELSE
Return True
end if
So the error is on the line 3 with the line 4
This is a PHC program and is on the web
What I have tried:
I try to modify the "IF" part of the program but i have the same problem! Pls help!
That is not a date and theThen
is missing. I don't haveSystem.Date
in my version of VB but something like the following is what you are after:
CType(mainformdataset.Tables("BO3").Rows(0).Item("TAXPOINTDT"), System.DateTime) = New DateTime(1900, 1, 1) Then
这篇关于嗨,伙计们,你能帮我处理这个错误吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!