判断下拉框是否有选择:

<script type="text/JavaScript">

function CheckForm(){

var AreaValue=$("#DDlAreaList").val();

if(AreaValue=="0")

{

top.Dialog.altert("请选择区域!");

return false;

}

return true;

}

</scirpt>

 <asp:Button ID="btnSubmit" runat="server" Text="保存并返回" Width="80px" CssClass="blueButtonCss" OnClientClick="return CheckFrom();" OnClick="btnSubmit_Click" />&nbsp;&nbsp;

关于IBatisNet中SQL语句的使用:

<!--<select >
          <![CDATA[
          A.EndTime<= #EndTime#
           ]]>
        </isGreaterThan>
    </dynamic>
    </select>-->

相关文章:

  • 2021-12-08
  • 2021-08-07
  • 2021-08-07
  • 2021-12-20
  • 2021-10-03
  • 2021-08-07
  • 2021-10-03
猜你喜欢
  • 2021-08-07
  • 2021-08-07
  • 2021-08-07
  • 2021-10-13
  • 2021-12-08
  • 2021-10-03
  • 2021-10-13
  • 2021-08-07
相关资源
相似解决方案