问题描述
我需要在数据库中找到具有同名名称的控件,但是页面中的实际控件名称由数字表示.
例如
我的栏名称为"COUNTRY_CODE"
以及"COUNTRY_CODE1"页面上的真实控件名称
当我做::: findcontrol(CoulmnName);它返回notfound
我该如何使用我的同姓来找到该控件
:confused:
艾哈迈德·斯霍基
thanx alot
I need to find control with coulmn name in database but the real control name in the page is concatinated by number
e.g
I have column name "COUNTRY_CODE"
and the real control name on the page "COUNTRY_CODE1"
when i make::: findcontrol(CoulmnName); it returns notfound
what can i do to find that control using my coulmn name
:confused:
ahmed shawky
thanx alot
推荐答案
当我make ::: findcontrol时(CoulmnName);它返回notfound
when i make::: findcontrol(CoulmnName); it returns notfound
因为控件名称后有一个数字,所以您需要搜索实际的控件名称.您的contol不在乎数据库中的列名是什么.
Because the control name has a number appended, so you need to search for the actual control name. Your contol does not care what your column name is in your DB.
这篇关于在网页中查找控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!