根据存储过程使用活动数据集更新tSQL数据库表 [英] Updating tSQL database tables using an active dataset, based on a stored procedure

查看:63
本文介绍了根据存储过程使用活动数据集更新tSQL数据库表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自动换行:
我在项目(winforms C#+ tSQL)中构造了一个向下钻取,其中仅使用存储过程来上载用户所需的数据.
我的SP在上传时使用输入来过滤数据.

我可以使用update命令更新数据集.但是..

问:
接受数据集中的更改后,我不知道如何更新数据库.

任何帮助将不胜感激..

新手


PS: C#-Studio 2008&最多,tSQL 20008

Sit-wrap:
I constructed a drill-down in my project (winforms C# + tSQL), where I use only stored procedures to upload the data needed for the user.
My SPs use inputs to filter the data when I upload.

I can update the datasets using the update command. However..

Q:
I don''t have a clue how to update the database, after accepting-changes in the datasets.

Any help will be greatly appreciated..

The newbie


PS: C#- Studio 2008 & up, tSQL 20008

推荐答案

我发现 ^ ],这似乎符合您的情况.

希望能帮助到你. :)
I found this[^], which seems to match your situation.

Hope it helps. :)


这篇关于根据存储过程使用活动数据集更新tSQL数据库表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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