问题描述
我的讲师说,我们应该考虑一下在Windows窗体上使用的报告日志.
基本上,我要问的是用户是否使用连接到数据库的Winform,并且他们从数据库中添加,修改或删除数据库,所以我只能使用一个按钮来显示活动"(如果在文本框或.txt中)文件.就像报告日志一样
我还没有代码,如果您可以帮助我朝正确的方向发展,或者文章或代码会有所帮助
My lecturer said we should think about a report log that you use on a windows form.
basically what i am asking is if a user uses my winform that is connected to a database and they add, modify or delete from a database i could just have a button to show the "activity" if any in a text box or a .txt file. like a report log
i don''t have code yet, if u can help me to get in right direction or an article or code will be helpful
推荐答案
ActivityID - INT (IDENTITY)<br />
UserID - INT -> user name, id or any other unique value<br />
DatabaseID -> database name, id or any other unique value<br />
TableId -> table name, id or any other unique value<br />
UserActivity - VARCHAR(255) -> description of user activity<br />
ActivityTime - DateTime<br />
表或字段的数量取决于您的条件.
保存数据之前,请保存用户的活动".
The number of tables or fields depends on your criteria.
Before you save data, save user ''activity''.
这篇关于在Winforms中报告日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!