如何使用网格视图从webform更新多个oracle数据库表 [英] how to update multiple oracle database tables from a webform using grid view

查看:57
本文介绍了如何使用网格视图从webform更新多个oracle数据库表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有三个网格视图的webform,并且从三个oracle表中获取.i必须在网格中启用编辑更新和删除功能,并且我必须将更改存储在临时数据表中的网格中。一旦用户点击提交,更改应该在数据库中更新。请帮助我如何通过一些例子来实现这一点。

i have a webform with three grid views and the are fetched from three oracle table .i have to enable edit update and delete functions in grid and i have to store the changes to grid in a temporary datatable. once the userclicks submit the changes should be updated in database. please help me how to achieve this with some example please.

推荐答案

为了解决您的问题,我建议您将您的需求分解为各个阶段。



1.首先,最重要的是注意Gridview中的CRUD操作

2.寻找连接到oracle数据库表

3.之后相应更新字段





http://www.dotnetfunda.com/articles/show/1619/how-to-perform-edit-update -and-delete-grid-in-gridview [ ^ ]



问候,

Praveen Nelge
To simply your problem I would suggest you to break down your requirement into various phases.

1. First and the foremost thing look out for CRUD Operations in Gridview
2. thn look for connecting to oracle database tables
3. later upate the fields accordingly


http://www.dotnetfunda.com/articles/show/1619/how-to-perform-edit-update-and-delete-operation-in-gridview[^]

Regards,
Praveen Nelge


解决方案1是正确的,除此之外,

你真的没有将更新的数据保存在某些数据表中,因为ASP .NET提供临时持久性存储,直到页面回发为止。所以请看一下这个链接,并在下面给出。你肯定知道如何处理你的问题。

this [ ^ ]。



祝你好运。 :)



-KR
Solution 1 is correct and addition to that,
You really don't have to save the updated data in some datatable, because ASP .NET provides temporary persistence storage until the page is post back. So take a look at that link and given below as well. You surely get the idea how to deal with your problem.
See this[^].

Good Luck. :)

-KR


这篇关于如何使用网格视图从webform更新多个oracle数据库表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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