当在文本框中输入文本时,如何编码用于搜索(在文本框的textchanged事件上)datagrid中的记录? [英] how do i code for searching (on textchanged event of textbox) records in datagrid when text entered in textbox?

查看:89
本文介绍了当在文本框中输入文本时,如何编码用于搜索(在文本框的textchanged事件上)datagrid中的记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于文本框的textchanged事件...

如果我们从datagrid n搜索名字,我们就知道了..之后,我们必须找出那个名字的姓氏..为名字提取的记录应该保持原样,因为现在是n,我们必须找出我们得到的相同名字的姓氏在datagrid中.

On textchanged event of textbox...

if we r searching Firstname from datagrid n we got that.. afterwards we have to find out surname for that first name.. the records fetched for firstname should remain as it is n now we have to find out surname for the same firstname we got in datagrid..
then how we should code for it??

推荐答案

好像您在这里收到了Dave的回复:
http://www. codeproject.com/answers/65275/how-do-i-code-for-searching-records-in-datagrid-wh.aspx#answer1 [
Looks like you got a reply from Dave here:
http://www.codeproject.com/answers/65275/how-do-i-code-for-searching-records-in-datagrid-wh.aspx#answer1[^]

Please dont repost questions. If any doubt then update/ask in the same. It would help others in following it later.


这篇关于当在文本框中输入文本时,如何编码用于搜索(在文本框的textchanged事件上)datagrid中的记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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