通过文本框在表格中添加价值 [英] Add value in a table through text box

查看:70
本文介绍了通过文本框在表格中添加价值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我通过文本框在表中添加值,它应该在另一个具有相同列名的表中自动更新,并且必须出现在该表格的文本框中……该怎么办?请帮我解决这个问题.

if i add value in a table through text box, it should automatically update in another table with same coloumn name, and must apear in text box of that form......What to do ?? Plz help me with this.

推荐答案

如果我正确地理解了您的知识,则在将值添加到表中时需要更新另一个表中的值.

1.在添加到第一个表之后(使用事务处理),编写sql以将值更新到另一个表中(使用事务)
2.如果使用的是RDBMS数据库,请使用Trigger

欢呼
If I have got you correctly, you need to update a value in another table when a value is added to a table.

1. Write sql to update the value to another table just after adding to 1st table (use transaction)
2. Use Trigger, if you are using RDBMS database

cheers


这篇关于通过文本框在表格中添加价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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