zoukankan
html css js c++ java
遍历页面上的所有TextBox
1
protected
void
setTextBoxValueNUll()
2
{
3
HtmlForm from
=
(HtmlForm)
this
.FindControl(
"
form1
"
);
4
for
(
int
i
=
0
; i
<
from.Controls.Count; i
++
)
5
{
6
if
(from.Controls[i]
is
TextBox)
7
{
8
TextBox tb
=
from.Controls[i]
as
TextBox;
9
tb.Text
=
""
;
10
}
11
}
12
}
查看全文
相关阅读:
认识js函数对象(Function Object)
JavaScript对象就是一组属性(方法)的集合
XML DOM
XMLHttpRequest 对象
js列表分页
一个重构的js分页类
Oracle translate 函数的用法, 以及和replace的区别
使用定时器实现JavaScript的延期执行或重复执行
PHP四种基本排序算法
http常见状态码(转载)
原文地址:https://www.cnblogs.com/kevinge/p/1249777.html
最新文章
Leetcode 1013. 总持续时间可被 60 整除的歌曲
Leetcode 1012. 十进制整数的反码
Leetcode 870. 优势洗牌
Leetcode 869. 重新排序得到 2 的幂
Leetcode 868. 二进制间距
Leetcode 1008. 先序遍历构造二叉树
Leetcode 1007. 行相等的最少多米诺旋转
Leetcode 1005. K 次取反后最大化的数组和
算法入门经典-第五章 例题5-2 木块问题
算法入门经典-第五章 例题 5-5 集合栈计算机
热门文章
c++ set_union set_intersection使用
算法入门经典-第五章 例题5-4 反片语
C++ MAP使用
段的概念 栈溢出
C++中的pair,make_pair学习
算法入门经典 第三章
算法入门经典 第四章
有关lower_bound()函数的使用
事件冒泡
js中冒泡事件和捕获事件
Copyright © 2011-2022 走看看