插入或更新记录 [英] insert or upadate the record

查看:87
本文介绍了插入或更新记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个文本框中输入值并单击submt.based on id检查值是否存在于数据库中是否存在如果可用则更新值或者使用asp.net实体框架工作

解决方案

您可以从这些来源中学习

http://blogs.msdn.com/b/wriju/archive/2008/08/21/ado-net-entity -insert-update-and-delete.aspx [ ^ ]



http://pragmaticcoding.com/index.php/entity-framework-insert-update-delete-records/ [ ^ ]



http://www.dotnetcurry.com/showarticle.aspx? ID = 619 [ ^ ]

in one text box enter value and click on submt.based on id check the value is alrdy exist in database or not if it is available update the value or else insert the record in db using asp.net entity frame work

解决方案

You can learn from this sources
http://blogs.msdn.com/b/wriju/archive/2008/08/21/ado-net-entity-insert-update-and-delete.aspx[^]

http://pragmaticcoding.com/index.php/entity-framework-insert-update-delete-records/[^]

http://www.dotnetcurry.com/showarticle.aspx?ID=619[^]


这篇关于插入或更新记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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