且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

C#中数据库Ms-Access中的更新记录

更新时间:2023-02-07 23:33:54

我认为您可以使用以下算法进行操作
1)在登录时编写模块,并识别登录的用户(如果它是"Manager"),然后在数据库中插入/更新一条记录,但在其中保留一个标记为"IsRead"为false.
2)在登录时编写另一个模块,并以"employee"身份标识已登录的用户,然后仅在表中存在"IsRead"标记为false的记录时才显示消息.然后当用户单击该消息的确定",然后将所有"IsRead"错误方法更新为"True".


希望这对您有帮助,如果是,请接受并投票,否则将返回您的查询.
-感谢RDBurmon高级软件工程师
I think you can do this using below algorithm
1) Write module at login and identify the logged in user if it is "Manager" then insert/update one record in database but keep one flag there as "IsRead" as false.
2) Write another module at login and identity the logged in user if it is "employee" then show message only if there are record exists in table with "IsRead" flad is false. and when user click "ok" to that message then update all the "IsRead" false method to "True".


Hope this helps If yes then accept and vote the answer otherwise revert back with your queries.
--Thanks & Regard RDBurmon Sr.Software Engineer