在网页中查找控件 [英] Find control in webpage

查看:93
本文介绍了在网页中查找控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在数据库中找到具有同名名称的控件,但是页面中的实际控件名称由数字表示.

例如

我的栏名称为"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

推荐答案

ahmed shawky写道:
ahmed shawky wrote:

当我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.


我知道put是我必须使用
搜索的可用值
我需要知道有什么方法可以使用其名称的一部分来找到该控件


类似于数据库搜索,但位于.net

%COUNTRY_CODE%
I know put that is the available value that i have to search with

I need to know there is any way to find that control using part of its name


like DB Search but in .net

%COUNTRY_CODE%


这篇关于在网页中查找控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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