本文介绍了如何在C#中将datetimepicker值更改为单词?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 请帮助我, 我想将日期值更改为单词,例如: - 将此转换为22/08 / 2002年进入这个八月二十二日两千两个 请给我解决方案或一些想法。 我尝试过: 我试过这个 lbldobinwords .Text = String.Format({0:dd MMMM yyyy},dtpdob.Value); 但这给了我这样的输出2002年8月22日 。解决方案 Please help me,I want to change date value into words for example:-convert this "22/08/2002" into this "Twenty Second August Two thousand two"give me solution or some idea please.What I have tried:I tried thislbldobinwords.Text = String.Format("{0:dd MMMM yyyy}", dtpdob.Value);but this gives me output like this "22 August 2002". 解决方案 这篇关于如何在C#中将datetimepicker值更改为单词?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!