问题描述
嗨..
在我的项目中,绑定后Iam在datagrid中显示日期,但不显示每个月的值,而是这样显示,
2011/00/25
1987/00/19
1980/00/23
在Xaml中,我这样写,
< sdk:datagridtextcolumn标头="PlcmtDate;< br" mode ="hold" xmlns:sdk =#unknown"> Binding = {Binding PDate,StringFormat = yyyy-mm-dd}/>
请告诉我解决问题.
谢谢,
swathi
Hi..
In my project, Iam displaying date in datagrid after binding.But not displays every month value, it displaying like this,
2011/00/25
1987/00/19
1980/00/23
In Xaml, I wrote like this,
<sdk:datagridtextcolumn header="PlcmtDate;<br" mode="hold" xmlns:sdk="#unknown"> Binding={Binding PDate,StringFormat=yyyy-mm-dd}/>
please tell me to solve the solution.
thanks,
swathi
推荐答案
这篇关于绑定后如何在datagrid中显示日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!