将下拉列表日期与数据库进行比较 [英] compare the dropdownlist date with the database

查看:76
本文介绍了将下拉列表日期与数据库进行比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在表格中如下



studid DOMdate Billno



134 2014-01-20 1245 < br $>




在运行模式下如下





Course_Date下拉列表(将显示日期)。



我有一个名为submit的butotn。





在提交按钮中我想验证下拉列表日期必须小于DOMDate的六个月(在数据库中)。



为此我如何使用C#在asp.net中验证。



问候,

narasiman P.

In table as follows

studid DOMdate Billno

134 2014-01-20 1245


In run mode as follows


Course_Date Dropdownlist(Date will be displayed).

The i have one butotn called submit.


In submit button i want to validate the dropdownlist date must be less than the SIX Months to the DOMdate(in database).

for that how can i validate in asp.net using C#.

regards,
narasiman P.

推荐答案

这篇关于将下拉列表日期与数据库进行比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆