dim HealthInsuranceName_str as string
if(HealthInsuranceName.Disabled=true) (**之前我已经关闭了Disabled=true 这里不好使  判断总是 false)
   HealthInsuranceName_str ="NULL"
else
  HealthInsuranceName_str=HealthInsuranceName.value
  if(HealthInsuranceName_str=="")
      HealthInsuranceName="NULL"
  else
      HealthInsuranceName=HealthInsuranceName.value
  end if
end if
response.write(HealthInsuranceName) (**结果有值,我要的结果关闭了 就要NULL)

解决方案 »

  1.   

    请帮帮我.....这是VB.NET 内容...
      

  2.   

    if(HealthInsuranceName.Disabled=true)
    判断是否相等应该用==吧
      

  3.   

    不是 这是VB.NET  判断是 = 一个高手求求你们帮帮我
      

  4.   

    1.你设个断点debug一下if(HealthInsuranceName.Disabled=true) (**之前我已经关闭了Disabled=true 这里不好使  判断总是 false) 
    如果你这里的disabled是true没道理不好使阿2.if(HealthInsuranceName_str=="") 这个是什么?vb.net是一个=