从数据库删除数据

从数据库删除数据

本文介绍了保存.从数据库删除数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是ASP.Net的初学者.我正在尝试构建一个Web应用程序.在Winforms中,我可以使用
从数据库中保存,删除编辑等数据.
出价来源或数据适配器.在asp.net中是否有类似的概念?我已经在我的项目中用一张表创建了sqlCE数据库.我还添加了sqlDataSource并与我的表连接.查询也已输入

SELECT * FROM [tblTest]在哪里[[Name] =?)ORDER BY [PK] DESC

但我不知道如何使用它来将数据保存到我的数据库中.

请指教.

谢谢

Hi,

I am a beginner in ASP.Net. I am trying to build a web application. In winforms, I can save, delete edit etc. data from database using

bidning source or dataadapter. Is there any concept like that in asp.net? I have created sqlCE database in my project with one table. i have also added sqlDataSource and connected with my table. Query has also been entered

SELECT * FROM [tblTest] WHERE ([Name] = ?) ORDER BY [PK] DESC

but I donot know how to use it to save data to my database.

Please advise.

Thanks

推荐答案



这篇关于保存.从数据库删除数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 23:47