本文介绍了'那么'是可选的吗?!?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VS.NET 2003,带有Option Strict的ASP.NET项目开启。


(是的,我知道这不是aspnet组。这是一个VB语法的东西,不是

一个ASP.NET的东西)


这实际上是在没有Then的情况下编译的。关键词。什么给了?!?


如果不是Page.IsPostBack


结束如果


-

Peace&快乐的计算,


Mike Labosh,MCSD


当你杀了一个男人时,你就是凶手。

杀死很多人,你就是征服者。

杀死所有人,你就是上帝了。 - Dave Mustane

VS.NET 2003, ASP.NET Project with Option Strict turned ON.

(yes, I know this is not the aspnet group. This is a VB syntax thing, not
an ASP.NET thing)

This actually compiles without the "Then" keyword. What gives?!?

If Not Page.IsPostBack

End If

--
Peace & happy computing,

Mike Labosh, MCSD

"When you kill a man, you''re a murderer.
Kill many, and you''re a conqueror.
Kill them all and you''re a god." -- Dave Mustane

推荐答案





这是我的一个愿望,同时让那些毫无意义的''Dim''可选


: - )


Cor


This is one of my wishes, together with making that senseless ''Dim'' optional

:-)

Cor




这篇关于'那么'是可选的吗?!?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-27 18:01
查看更多