显示基于使用C#给出的名称部分的所有名字的列表 [英] Display List Of all First Names Based On Part Of Name Given using C#

查看:77
本文介绍了显示基于使用C#给出的名称部分的所有名字的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Windows窗体(C#)根据名称和ID搜索员工详细信息。如果我提供全名,我可以获得详细信息,但如果我提供名称的某些部分,我想获取名称。例如,如果我给出la,它应该在下拉列表中以la(laxmi,lalitha,latha等)开头显示数据库表中的所有名称,并且在选择所需名称时,应填写该特定员工的所有详细信息。适当的文本框。

I am using windows form(C#) for searching employee details based on name and ID. I am able to get details if i provide full name but i want to get the names if i provide some part of name. For example, if i give "la" it should display all names from database table starting with "la" (laxmi, lalitha, latha etc)in a drop down and upon selecting desired name all the details of that particular employee should be filled in appropriate textboxes.

推荐答案

Asp .net自动提示示例 [ ^ ]



从Windows窗体中的数据库列自动提供TextBox [ ^ ]


这篇关于显示基于使用C#给出的名称部分的所有名字的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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