Windows应用程序中与ComboBox相关的查询 [英] ComboBox related query in Windows Application

查看:104
本文介绍了Windows应用程序中与ComboBox相关的查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有



嗨!我是Mashkoor,是B.SC(IT)的学生。我正在使用C#和SQL Server 2005开发基于Windows的应用程序。我的应用程序中有几种形式。在我的应用程序中,有一个数据输入表单,用户可以通过该表单输入学生的详细信息。在另一种形式中,我使用组合框控制,即学生姓名,我想通过输入学生姓名开始的单个字母或字符来显示所有学生姓名。我没有为该问题编写任何代码。有人请帮助我并提供该问题的代码。



谢谢

Dear All

Hi! I am Mashkoor a student of B.SC(IT). I am developing a Windows based application by using C# and SQL Server 2005.There are several forms in my application. In my application there is a data entry form by which the user can enter details of a student. In an another form i used a combobox control viz, ''Student Name'', where I want to show all the student name by entering a single alphabet or character by which the Student Name begins. I have not written any code for that issue. Somebody please help me and provide code for that issue.

Thanks

推荐答案

我能看到你了用这个拖网100个网站,不是引起我们注意的好方法。粘贴时请删除预标记。



如果您创建一个组合框并将其与项目一起加载,则按一个字母将转到列表的该部分。如果你想做更多,你需要抓住按键,并用代码过滤你的列表。
I can see you''re trawling 100 sites with this, not a good way to get our attention. Please remove the pre tags when you paste.

If you create a combo box and load it with your items, pressing a letter will go to that part of your list. If you want to do more, you need to catch the keypress, and filter your list with code.


这篇关于Windows应用程序中与ComboBox相关的查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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