if(ViewState[ "doSearch "]!=null) VB写法
------解决方案--------------------------------------------------------
if not viewstate( "dosearch ") is nothing then
------解决方案--------------------------------------------------------
If Not viewstate( "dosearch ") = Nothing Then