如何使用 C# 将日期时间格式转换为水晶报表中的日期格式?

编程入门 行业动态 更新时间:2024-10-17 17:18:08
本文介绍了如何使用 C# 将日期时间格式转换为水晶报表中的日期格式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用 c# windows 窗体应用程序以及水晶报表.我正在以日期时间格式从数据库中检索日期,但我喜欢仅在报表中显示日期,水晶报表中的任何公式字段是否对我有帮助解决这个问题.谢谢提前.

i am working c# windows form application and also in crystal report.i am retriving the date from database in datetime format but i like display date only in report,Is any formula field in crystal report help for me for this problem.Thanks in Advance.

推荐答案

在可用的水晶报表公式字段日期函数中,传递您的日期时间格式,您将只在此处获取日期

In crystal report formulafield date function aavailable there pass your date-time format in that You Will get the Date only here

示例:日期({MyTable.dte_QDate})

更多推荐

如何使用 C# 将日期时间格式转换为水晶报表中的日期格式?

本文发布于:2023-11-07 19:39:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1567239.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:日期   格式   转换为   如何使用   报表

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!