在datagriv视图或其他数据控件中使用波斯日期 [英] using persian date in datagriv view or other data controls
本文介绍了在datagriv视图或其他数据控件中使用波斯日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
朋友.
我的asp.net网页上有一个datagridview,它从数据库中收集数据.一种归档的数据类型是datetme,但我想显示波斯日期而不是2010/70/02之类的内容.
我尝试了< globalization>在配置文件中,但不起作用.
hi friends.
I have a datagridview in my asp.net web page which gathers its data from database.One filed`s data type is datetme, but I want to show Persian date instead of something like 2010/70/02.
I tried <globalization> in config file, but it did not work.
推荐答案
尝试^ ]-快速搜索会发现它...
Try here[^] - a quick search would have found it...
我阅读了这篇文章,但无法解决我的问题.我已经知道.Net或其他类中的波斯语日期,我的问题是我不能用波斯日期替换sql server中的默认datetime.
I read the article, but it cant solve my problem.I already knew Persian Date in .Net or other classes, my problem is that i can not replace default datetime in sql server with persian date.
这篇关于在datagriv视图或其他数据控件中使用波斯日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文