更改文本框名称 [英] change the text box name
问题描述
我不知道如何更改文本框名称?
for ex :(我这样的桌子)
SL。国家从
1 aaa(txt_c1)5/4/09(txt_f1)5/13/09(txt_t1)//现在我删除这一行。
2 bbb (txt_c2)5/18/09(txt_f2)5/25/09(txt_t2)
3 ccc(txt_c3)6/2/09(txt_f3)6/15/09(txt_t3)//现在我删除这一行。
4 eee(txt_c4)7/15/09(txt_f4)7/25/09(txt_t4)
剩余行,删除后。
1 bbb(txtc_2)5/18/09(txt_f2)5/25/09(txt_t2)//这里我想自动更改文本框名称(txtc_1,txtf_1,txtt_1) ?
2 eee(txtc_4)7/15/09(txt_f4)7/25/09(txt_t4)//这里我要自动更改文本框名称(txtc_2,txt_f2,txt_t2)如何?
I don''t know how to change the text box name?
for ex:(my table like this)
sl. country from to
1 aaa (txt_c1) 5/4/09 (txt_f1) 5/13/09 (txt_t1) // Now i delete this row.
2 bbb (txt_c2) 5/18/09 (txt_f2) 5/25/09 (txt_t2)
3 ccc (txt_c3) 6/2/09 (txt_f3) 6/15/09 (txt_t3) // now i delete this row.
4 eee (txt_c4) 7/15/09 (txt_f4) 7/25/09 (txt_t4)
remainder rows, after delete.
1 bbb (txtc_2) 5/18/09 (txt_f2) 5/25/09 (txt_t2) // here i want to change the text box name automatically (txtc_1, txtf_1, txtt_1) how?
2 eee (txtc_4) 7/15/09 (txt_f4) 7/25/09 (txt_t4) // here i want to change the text box name automatically (txtc_2, txt_f2, txt_t2) how?
推荐答案
@shivasusan
那你为什么要骗我?
@shivasusan
Then why did you lie me?
是..我收到错误消息.... aRow.name =(''txtc''+ k)为空。
Yes.. i got error message.... aRow.name = (''txtc'' + k) is null.
查看此代码....
have a look this code....
这篇关于更改文本框名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!