杭州国际学校有哪些:请问一个asp.net的问题啊?

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/28 07:52:15
asp.net里面不为空怎么表示???
不是not isnothing()(我不是用VS.net开发的)
我是用codebehind方法把页面,和代码分开写的.开发工具就是Ultraedit文本编辑器.不知道为什么用codebehind和VS.net开发差距很大,郁闷!!!!!
我的是VB.net.^_^!

判断为空

If str Is Nothing Then

..............

end if

判断为空字符串

If str = "" then
............
end if

string s;
if ( s != null ){}