您如何编码日历? [英] how do you code calendar?

查看:128
本文介绍了您如何编码日历?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您如何在asp.net中编写压延机?

How do you code a calender in asp.net?

推荐答案

有时,确实需要制作我们自己的自定义压延机,例如.如果我们需要将控件(如按钮,下拉菜单)放在该日历中,以在特定日期执行某些事件.为此,您可以将一个月的所有天(可以使用asp.net的日期时间属性获取这些值)存储在数据集中,然后从该数据集中绑定一个数据网格.由于datagrid具有定义垂直和水平行数的属性,因此对其进行自定义将是解决您的问题的很好的解决方案.我已经使用相同的过程完成了此操作.
阿努拉格
@cheers @
Sometimes, it is really needed to make our own custom calenders, for eg. if we need to put controls like button, dropdowns inside that calender to perform some events on a particular date. For this purpose, you may store all the days of a month(you can fetch those values by using date time properties of asp.net) in a dataset and then bind a datagrid from that dataset. Since, datagrid has the property of defining number of vertical and horizontal rows, thus customizing them, will be a very nice solution to your problem. I have done this earlier using the same process.
Anurag
@cheers@


您不知道.您使用日历控件.

在此处查看 [ ^ ]
You don''t. You use a Calendar control.

See Here[^]


好吧,除非他们进行了更改,否则ASP.NET日历控件很烂.但是网上有很多更好,免费的javascript控件.
Well, the ASP.NET calendar control sucks, unless they''ve changed it. But there''s tons of javascript controls that are better, freely available on the web.


这篇关于您如何编码日历?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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