如何像浏览器一样存储历史记录中的当前日期,最后日期,上周,上个月,去年的数据? [英] How to store data current date,last date,last week,last Month,Last year in History like webbrowser?

查看:89
本文介绍了如何像浏览器一样存储历史记录中的当前日期,最后日期,上周,上个月,去年的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生,

我想将数据存储在webbrowser之类的History的窗口应用程序中.
C#中的代码是什么?
谢谢
Mahendra kumar Das

Dear Sir,

I want to store Data in window application in History like webbrowser.
What is code in C#?
Thanks
Mahendra kumar Das

推荐答案

您需要存储包含该项目发生日期的历史记录.这可能是数据库(好的主意)XML(好的)或文本文件(坏的主意),也可能是注册表中的(好主意).
然后,根据基于当前数据的信息来显示它,并将其分组为您提到的时间橄榄石.

不能具体,因为您的问题不具体!
You need to store a history with the date of the item occurred. This could be a database (good idea) XML (ok) or a text file (bad idea), or in the registry (terrible idea).
You then display it based on retrieving the information based on the current data, and grouped into teh time peridos you mention.

Can''t be specific, because you weren''t specific in your question!


这篇关于如何像浏览器一样存储历史记录中的当前日期,最后日期,上周,上个月,去年的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆