各位高手,请教一个问题,
如果我要校验
a控件的值=b控件输入值+c控件输入值
应该怎么做呢?!
急盼回复
如果我要校验
a控件的值=b控件输入值+c控件输入值
应该怎么做呢?!
急盼回复
解决方案 »
- listbox1转移行到listbox2,判断,如果listbox1跟listbox2不一样..才允许加入....
- 我封在类库中的控件怎么不支持UpdatePanel?
- 没有静态IP,能不能架设局域网服务器?
- 如何使用UltraWebGrid自定义绑定列?
- 母版页里的用户控件加载了2次?
- 创建不了ASP程序!~求帮助
- 请问 Thread.Sleep(30000);引用的命名空间是什么?我没有MSDN,查不到,那位帮一个忙?
- .net 使用process.start() 提示:系统找不到指定文件
- 如何编程访问web.config中的location配置节??
- 怎么样打印水晶报表?能否给一个例子
- asp.net2.0,c#中如何判断TextBox是否得到焦点了?
- 连接数据库问提
{
ClientScript.RegisterStartupScript(this.GetType(),"","<script>alert('对');</script>");
}
else
{
ClientScript.RegisterStartupScript(this.GetType(),"","<script>alert('错');</script>");
}
this.Button1.Attributes.Add("onclick","return CheckData();");<SCRIPT language="javascript">
<!--
function CheckData(obj,args)
{
var a = parseInt(Form1.TextBox1.value);
var b = parseInt(Form1.TextBox2.value);
var c = parseInt(Form1.TextBox3.value);
if( a != b+c)
{
alert("错误!");
return false;
}
}//-->
</SCRIPT>
{
Response.write(<script>alert('相同')</script>);
}
else
{
Response.write(<script>alert('不相同')</script>);
}