在大数据源中实现AutoCompleteStringCollection的最佳方法是什么

编程入门 行业动态 更新时间:2024-10-26 16:28:30
本文介绍了在大数据源中实现AutoCompleteStringCollection的最佳方法是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

使用winForms我在form_load中执行AutoCompleteStringCollection。 将数据库信息设置为List(Of String)变量,然后将其分配给AutoCompleteStringCollectionSource。 但如果我该怎么办?拥有大数据源。 感谢

Using winForms i doing the AutoCompleteStringCollection in form_load. set the database information to List(Of String) variable, after that assigning it to AutoCompleteStringCollectionSource. but what should i do if i have big data source. Thank's

推荐答案

如果你有很多行,那么: - 等待用户在列出以这些字符开头的选项之前输入一些字符(可能是3到4) - 不要一次显示所有内容,也许只有50个第一行并且有用户显示更多内容的能力。 If you have a lot of rows then: - wait for the user to input some characters perhaps 3 to 4 before listing the choices starting with those characters - do not show everything at once, perhaps just 50 first rows and have the user ability to show more.

更多推荐

在大数据源中实现AutoCompleteStringCollection的最佳方法是什么

本文发布于:2023-11-04 17:34:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1558572.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据源   方法   AutoCompleteStringCollection

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!