我需要ASP.net中datetimepicker的代码 [英] I Need code for datetimepicker in ASP.net

查看:85
本文介绍了我需要ASP.net中datetimepicker的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友
我可以通过工具箱中的datetimepicker控件来执行C#窗口表单,但是该控件在ASP.net中不可用,我如何在ASP.net中设计datetimepicker发送代码,我需要两个文本框,并通过下拉菜单可以选择日期和时间,请发送代码this

hi friends
i can do C# window forms through datetimepicker control from toolbox but this control is not available in the ASP.net, how can i design the datetimepicker in ASP.net pl send code for that i need two text box with drop down by this we can select the date and time pl send code this

推荐答案

ASP.NET中没有默认的日期时间选择器,您需要使用JavaScript编写自己的日期或时间,您可以在应用程序中使用这么多免费的日历控件.

在这个上做些谷歌搜索,您会发现一个适合您的需求.
There is no default date time picker in ASP.NET, you need to write your own using javascript or you can find so many free calendar controls which you can use in your application.

Do some google on this and you will find one for your requirement.


这是一项微不足道的任务.您应该已经编辑了现有问题,而不是询问两次,但是如果您无法创建2个下拉菜单,则应该关闭计算机并寻找其他工作.
This is a trivial task. You should have edited your existing question instead of asking twice, but if you can''t create 2 drop downs, you should turn off your computer and look for another job.


您可以使用AJAX工具包日历控件或下面给出的链接中的示例尝试,它使用jquery.
http://west-wind.com/Weblog/ShowPost.aspx?id=891888 [ ^ ]
you can use AJAX toolkits Calendar control or try example from link given below, it uses jquery.
http://west-wind.com/Weblog/ShowPost.aspx?id=891888[^]


这篇关于我需要ASP.net中datetimepicker的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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