Windows应用程序中的日记应用程序

编程入门 行业动态 更新时间:2024-10-23 17:31:26
本文介绍了Windows应用程序中的日记应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想创建一个简单的日记应用程序,我可以添加我每天的笔记。我有一般的想法,我可以使用RichTextBox控件来编写简单的文本和日历控件来导航前一天的条目。并创建一个包含nvarchar(max)列的表来存储RichTextBox的内容。 但是我将如何保存RichTextBox控件中编写的内容。意味着一些文本将以粗体和斜体标题,一些世界将使用不同的字体和不同的对齐来编写。保存特定日期的条目并在下次显示后,这种格式将如何保留?有人有任何想法将这些段落存储在数据库中吗?如果有可能那么我也想添加图像并用输入的内容保存但是如何?我想要一般的想法。

I want to create a simple diary application where I can add my every day’s moment’s notes. I have general idea that I can use RichTextBox control to write simple text and a calendar control for navigating previous day’s entries. And create a table with nvarchar(max) column to store RichTextBox’s content. But how I will save the content written in RichTextBox control as it is. Means Some text will be heading with bold and italics, some worlds would be written using different fonts and different alignments. How this formatting will remain after saving particular day’s entries and showing in next time? Anyone have any idea to store that paragraphs in database? If there is possible then I also want to add images and save it with entered contents but how? I want general ideas, please.

推荐答案

阅读以下有关如何将BLOB存储到Sql Server的信息:www.akadia/services/dotnet_read_write_blob.html [ ^ ] Read the following on how to store BLOBs to Sql Server : www.akadia/services/dotnet_read_write_blob.html[^]

更多推荐

Windows应用程序中的日记应用程序

本文发布于:2023-11-11 10:34:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1578180.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   日记   Windows

发布评论

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

>www.elefans.com

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