当在文本框中输入文本时,如何编码用于搜索(在文本框的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.