AJAX-AutoComplete Oracle VB.NET [英] AJAX-AutoComplete Oracle VB.NET

查看:42
本文介绍了AJAX-AutoComplete Oracle VB.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用ajax自动完成时遇到问题。我实际上认为它可能是一个Oracle问题而不是自动完成问题,因为我可以在不搜索数据库的相似值的情况下使自动完成工作。这是我的代码:

展开 | 选择 | Wrap | 行号

解决方案

欢迎来到TSDN :)我希望你喜欢这里!


你得到的错误信息是什么?

如果没有错误信息,你能更好地解释一下发生了什么吗? />
您是否尝试过返回项目数组的克隆?


谢谢,

-Frinny


< blockquote>我喜欢这里!我一直在搜索网站一段时间,但这是我第一次发布任何内容。我没有收到错误。我什么都没得到。谢谢。当我不使用Oracle datareader时,自动完成功能正常工作。插入oracle的东西时什么都不做。谢谢。



< asp:TextBox ID =" txtNAME" RUNAT = QUOT;服务器" MaxLength =" 5">< / asp:TextBox>

< ajaxtoolkit:AutoCompleteExtender ID =" AutoCompleteExtender1"

TargetControlID =" txtNAME"启用= QUOT;真" ServicePath =" AutoComplete.asmx"

ServiceMethod =" GetCompletionList" MinimumPrefixLength = QUOT; 0" RUNAT = QUOT;服务器" FirstRowSelected = QUOT;真" >


< / ajaxtoolkit:AutoCompleteExtender>


您是否尝试过返回项目数组的克隆?不,不知道这是什么。我是vb.net和oracle的新手。


I am having problems using the ajax autocomplete. I actually think it may be an Oracle problem not autocomplete problem because I can get the autocomplete working without searching the database for like values. Here is my code:

Expand|Select|Wrap|Line Numbers

解决方案

Welcome to TSDN :) I hope you like it here!

What is the error message you''re getting?
If there''s no error message, could you better explain what is happening?
Have you tried returning a clone of your items array?

Thanks,
-Frinny


I do like it here! I have been searching the site for awhile but this is the first time I posted anything. I am not getting an error. I am not getting anything at all. Thanks. The autocomplete works when I am not using the Oracle datareader. It does nothing when insert in the oracle stuff. Thanks.



<asp:TextBox ID="txtNAME" runat="server" MaxLength="5"></asp:TextBox>
<ajaxtoolkit:AutoCompleteExtender ID="AutoCompleteExtender1"
TargetControlID="txtNAME" Enabled="True" ServicePath="AutoComplete.asmx"
ServiceMethod="GetCompletionList" MinimumPrefixLength="0" runat="server" FirstRowSelected="true" >

</ajaxtoolkit:AutoCompleteExtender>


Have you tried returning a clone of your items array? No, not sure what this is. I am new to both vb.net and oracle.


这篇关于AJAX-AutoComplete Oracle VB.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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