GridView的TextChanged事件中的数据绑定 [英] Data bind in textchanged event of a gridview

查看:82
本文介绍了GridView的TextChanged事件中的数据绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在gridview中有一个文本框,并且有一个表"purchaseoreders".现在,当在文本框中输入itemcode(表格的字段)时,其他详细信息必须绑定.

想法.. ??
请帮忙.
谢谢
Pravi.

I have a textbox in a gridview and a table "purchaseoreders". Now when the itemcode(field of the table) is given in the textbox, the others details have to bind.

Ideas..??
Please help.
Thank You
Pravi.

推荐答案

好吧,我认为这将是AJAX调用.问题就变成了什么意思?该文本框位于gridview内部,并且您希望该行的其余部分显示数据以匹配所键入的内容?我相信,如果您使用ASP.NET AJAX,则可以编写代码来更新这些字段,框架将为您进行AJAX.
Well, I assume this is going to be an AJAX call. The question becomes, what do you mean ? The textbox is INSIDE the gridview, and you want the rest of the row to show data to match what was typed ? I believe if you use ASP.NET AJAX, you can write code to update those fields, and the framework will AJAX it for you.


这篇关于GridView的TextChanged事件中的数据绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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