博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
C# 提交成功提示
阅读量:7281 次
发布时间:2019-06-30

本文共 509 字,大约阅读时间需要 1 分钟。

 

 

 
if (txtName.Text == 
"")
        {
            Response.Write(
"
<script>alert('请输入管理员名!');location='javascript:history.go(-1)';</script>
");
        }
        
else
        {
            
int P_Int_returnValue = mc.AddAdmin(txtName.Text.Trim(),txtPass.Text.Trim());
            
if (P_Int_returnValue==
100)
            {
                Response.Write(
"
<script>alert('该管理员名已存在!');location='javascript:history.go(-1)';</script>
");
            }
            
else
            {
                Response.Write(
"
<script>alert('添加成功!');location='javascript:history.go(-1)';</script>
");
            
            }
        
        }

 

转载于:https://www.cnblogs.com/tiger8000/archive/2012/01/12/2320287.html

你可能感兴趣的文章
2.2. mysqldump - a database backup program
查看>>
01-老马jQuery教程-jQuery入口函数及选择器
查看>>
分割工具——按字段属性
查看>>
c++ 11 移动语义、std::move 左值、右值、将亡值、纯右值、右值引用
查看>>
第 2 章 Spring Boot
查看>>
搭建Java环境JDK,和运行环境JRE
查看>>
Thinking in Java 4 : 一切都是对象
查看>>
iOS - UICollectionViewController
查看>>
Facebook 宕机事故系服务器配置问题导致
查看>>
【RAC】11g R2 RAC新特性之Highly Available IP(HAIP)
查看>>
Mysql 5.7 Gtid内部学习(三) Gtid和Last_commt/sequnce_number的生成时机
查看>>
【MySQL】漫谈死锁
查看>>
wait for stopper event to be increased
查看>>
上海往事之找Free机会一周
查看>>
[20160302]关于FULL_HASH_VALUE.txt
查看>>
奇葩念头:微信能取代WP应用吗
查看>>
Cordova插件,自动根据包名替换R资源描述
查看>>
Python探索记(12)——元组Tuple
查看>>
wcf系列学习5天速成——第五天 服务托管
查看>>
对于超大型SQL SERVER数据库执行DBCC操作
查看>>