没有在数据库中更新 [英] not updating in data base

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

问题描述

我已经使用ado.net命名空间编写了一个代码,用于向数据库中添加del和更新数据.但是原因是数据没有得到更新.原因是它处于断开连接的模型中

i have written a code using ado.net namespace for adding del and updating data to the data base.but the data is not getting updated.what is the reason.it is in disconnected model

推荐答案

在此处阅读有关ADO.NET的信息,它将对您有所帮助.

看看这些:
MSDN:ADO.NET [ C#Station ADO.NET教程 [ MSDN:使用ADO.NET访问数据 [为初学者使用ADO.NET [
Read about ADO.NET here and it will help you.

Look at these:
MSDN: ADO.NET [^]
The C# Station ADO.NET Tutorial[^]
MSDN: Accessing Data with ADO.NET[^]
Using ADO.NET for beginners[^]


使用诸如 Entity Framework 之类的现代技术或 LINQ to SQL .
Use modern technologies like Entity Framework or LINQ to SQL.


这篇关于没有在数据库中更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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