如何在服务器端创建确认消息框?

编程入门 行业动态 更新时间:2024-10-25 08:17:01
本文介绍了如何在服务器端创建确认消息框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在C#中开发了小型数据输入应用程序,在服务器端单击按钮,我编写了代码,好像在数据库中可用的特定输入数据已废弃前一个并将新数据插入数据库,否则将数据插入数据库。所以我如果数据已经存在,则希望应用确认消息询问确认消息(是/否)用户选择确认消息为是然后废弃前一个并输入新数据否则跳过该过程。请提供以上工作流程的示例代码

I developed small data entry application in C#,In server side button click I wrote code as if particular entered data available in database obsolete the previous one and insert the new data into database else insert the data into database.so I wish to apply confirmation message for if the data already exists ask confirmation message (yes/no) user select confirmation message as yes then obsolete previous one and entered new data otherwise skip the process. Please provide sample code for above workflow

推荐答案

在服务器端创建消息框是没有意义的。 如果您想提醒用户监视服务器端,创建日志记录并将消息写入事件日志或您选择的任何其他记录器。 Creating a message box on the server side makes no sense. If you want to alert users monitoring the server side, create logging and write messages into event logs or any other logger of your choice.

更多推荐

如何在服务器端创建确认消息框?

本文发布于:2023-11-13 01:41:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1583062.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:服务器端   消息   如何在

发布评论

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

>www.elefans.com

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