当我们按下标签时,默认零会添加到网页的单元格中 [英] default zero is adding to the cell in a webpage when we press the tab

查看:93
本文介绍了当我们按下标签时,默认零会添加到网页的单元格中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认情况下在一个网站上显示为零,但是问题是当我们按下Tab键时默认的零并没有删除该零也会添加到该数字上.使用c#和asp .net,请给我一个解决方案.

in a website by default it is showing zero.But the problem is when we press the tab key that default zero is not deleting that zero is also adding to that number.using c# and asp .net please give me a solution.

推荐答案

您可以将此数字指定为"10"以上
或页面加载
you can devide this number over "10"
or on page load
TextBox.Text = string.Empty

NumericTextBox.Text = string.Empty


这篇关于当我们按下标签时,默认零会添加到网页的单元格中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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