如何在vb.net中从gridview中的一个文本框移动到下一个文本框时自动保存文本框值

问题描述:

当我从vb.net中的gridview中的一个文本框移动到下一个文本框时,如何在数据库中自动保存文本框值

How to save the textbox value automatically in the database when i move from one textbox to next textbox in gridview in vb.net

您好Amala,

你可以在java脚本的模糊事件上调用java脚本函数

看到这个链接它可以帮到你



http://aashishdynamic.wordpress.com/2011 / 12/17 / gridview-column-total-on-onblur-event-using-javascript / [ ^ ]



和make使用ajax来调用在模糊事件中将文本框值存储在DB中的服务。



问候,

Arun
Hi Amala,
you can call a java script function on blur event of java script
see this link it may help you

http://aashishdynamic.wordpress.com/2011/12/17/gridview-column-total-on-onblur-event-using-javascript/[^]

and make use of ajax to call service that stores the textbox value in DB in blur event.

Regards,
Arun