获取值时出现问题 [英] Problem in fetching the value

查看:71
本文介绍了获取值时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生/女士



i我正在使用vb.net,asp.net使用sqlserver 2000.

其中一个我的网站表单我使用aspx页面中的代码创建一个自动提示框是

Dear sir/ma''am

i am using vb.net,asp.net with sqlserver 2000.
in one of my website form i make an autosuggestion box with using code in aspx page is

function LoadList()
    {
        var ds=null;
        ds = <%=listFilter %>;
            $( "#tb_empid" ).autocomplete({
              source: ds
            });
    }
  var Txt = document.getElementByID("tb_empid");
function tb_empid_onclick() {

}





autosuggest框是一个输入框,当我然后在列表中写出所有具有show的值,然后我在其中选择一个值。

现在我想将此值保存在我的数据库中,但是当我尝试从我的vb访问此值时页面然后没有这样的输入控件,我发现如何在我的vb页面变量中访问此输入框值



现在先生我希望我的.vb中的选定值重定向页面。

但我无法访问所选值。



the autosuggest box is an input box when i write a then all the values having a show in a list and then i select one value among them.
now i want to save this value in my database but when i try to access this value from my vb page then no such a input control i find so how can i access this inputbox value in my vb page variable

now sir i want the selected value redirect in my .vb page .
but i am failed to access the selected value .

推荐答案

#tb_empid)。selfocomplete({
source:ds
});
}
var Txt = document.getElementByID( tb_empid);
函数tb_empid_onclick(){

}
( "#tb_empid" ).autocomplete({ source: ds }); } var Txt = document.getElementByID("tb_empid"); function tb_empid_onclick() { }





autosuggest框是一个输入框,当我然后在列表中写出所有具有show的值,然后我在其中选择一个值。

现在我想将此值保存在我的数据库中,但是当我尝试从我的vb访问此值时页面然后没有这样的输入控件,我发现如何在我的vb页面变量中访问此输入框值



现在先生我希望我的.vb中的选定值重定向页面。

但我无法访问所选值。



the autosuggest box is an input box when i write a then all the values having a show in a list and then i select one value among them.
now i want to save this value in my database but when i try to access this value from my vb page then no such a input control i find so how can i access this inputbox value in my vb page variable

now sir i want the selected value redirect in my .vb page .
but i am failed to access the selected value .


亲爱的正确
<![CDATA[<%=listFilter %>]]>

to:



to :

<![CDATA[<%= listFilter.ClientID %>]]>


这篇关于获取值时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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