如何在Gridview中显示日期,直到时间限制为止 [英] How Do I Display Date In My Gridview Till Perticular Limit Of Time
本文介绍了如何在Gridview中显示日期,直到时间限制为止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从sp返回特定日期。
我的逻辑我想要什么在我的gridview中显示。但该日期应保留在gridview中,直到9个月。请建议
任何仅对sp应用的逻辑或对此逻辑的其他建议
Hi ,
I am returning certain date from sp .
what my logic i want to display in my gridview . but that date should stays in the gridview till 9 months of period . please suggest
any logic to be applied on sp only or some other suggestion for this logic
推荐答案
您可能需要DateAdd和\\或DateDiff函数
https://msdn.microsoft.com/en-us/library/ms186819.aspx [ ^ ]
https://msdn.microsoft.com/en-us/library/ms189794.aspx [ ^ ]
给你的只是陈述了你的要求而没有提供任何相关信息,没有人能够给你一个具体的答案。
You'll probably need the DateAdd and\or DateDiff functions
https://msdn.microsoft.com/en-us/library/ms186819.aspx[^]
https://msdn.microsoft.com/en-us/library/ms189794.aspx[^]
given you have simply stated your requirement and not given any relevant information, no-one will be able to give you a concrete answer.
这篇关于如何在Gridview中显示日期,直到时间限制为止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文