ASP 2.0中的确认按钮 [英] Confirm Button in asp 2.0

查看:102
本文介绍了ASP 2.0中的确认按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从TextBox中检查两个值并比较两个TextBox值(我已经做了那些事情)...我的问题是两个值是否相同,我需要将这些值保存到数据库中.如果不是,则意味着我需要显示短消息''这两个价值观是不同的,您是否要继续? ".如果用户单击是",则意味着我需要将该值保存到数据库中.否则,如果用户单击否",则表示不需要进行任何操作.

问候
Prince Antony G

Checking the Two Values From TextBox and Compare the two TextBox Values (i have done those things) ...My Question is if the two values are Same i need to save those value into Database.. if not means i need to display a miessage '' The Two Values are Different, Do u Want To Continue ? ''. if the user click ''Yes'' means i need to save the value into Database. or else if the User click ''No'' means no operation is needed..

Regards
Prince Antony G

推荐答案

检查这些,这些可能对您有帮助:
http://www.4guysfromrolla.com/articles/111506-1.aspx [ ^ ]
一个简单的ASP.NET服务器控件:消息框和确认框 [^ ]
http://63.236.73.220/showthread.php?t=419958 [
check these , these may help you:
http://www.4guysfromrolla.com/articles/111506-1.aspx[^]
A Simple ASP.NET Server Control: Message Box & Confirmation Box[^]
http://63.236.73.220/showthread.php?t=419958[^]


希望这会有所帮助
确认框
Hope it will helps
Confirm box


尝试这些

对于字符串比较,
JavaScript字符串比较 [在ASP.NET网页中添加客户端消息框 [在ASP.Net按钮上进行JavaScript确认 [
Try these

For String comparison,
JavaScript String Compare[^]

For Confirmation message,
Adding Client-Side Message Boxes in your ASP.NET Web Pages[^]
Javascript Confirm on ASP.Net Button[^]


这篇关于ASP 2.0中的确认按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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