.aspx gridview编辑表单不更新 [英] .aspx gridview edit forms not updating

查看:59
本文介绍了.aspx gridview编辑表单不更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个Windows aspx应用程序。该应用程序有几个输入表单和几个gridview报告,都有一个编辑超链接,以形成编辑页面。 gridview中的某些字段使用SQL表中的数据填充,其他字段为空。编辑表单是这样的,用户可以更改从表中填充的现有数据,或者在尚未填充的字段中添加其他数据。



问题是一次你打开一个编辑表单(来自gridview),比如说,将一些数据添加到未填充的字段中,并保存,如果你打开相同的记录编辑表单,更改确实会在gridview中显示,除非你重新键入之前添加的那些相同的添加,它把它们擦掉了。



另一个问题是,如果需要,您应该能够更改从SQL表中填充的数据。问题是,你打开记录编辑,进行更改,点击保存,看看@titview,并没有保存任何更改。



我搜索和搜索但找不到任何接近我问题的东西。如果有人可以提供帮助,我会非常感激,我正处于这样的时间紧张!



谢谢!

凯西

解决方案

嗨...

请参阅gridview的这个链接。

在gridview中编辑,删除和更新 [ ^ ]

谢谢你。

I have a windows aspx app I created. The app has several input forms, & several gridview reports which all have an edit hyperlink to form edit page(s). Some fields in the gridview are populated with data from SQL tables, other fields are blank. The edit form is so the user can make changes to the existing data populated from the table or to add additional data in fields not already populated.

The problem is that once you open an edit form (from gridview), say, add some data to field NOT populated, & save, the changes do show in the gridview HOWEVER, if you open that same record edit form, unless you retype those same additions previously added, it wipes them out.

The other problem, you should be able to change data populated from the SQL table(s) if need be. Problem is, you open the record edit, make the changes, click save, look @ the gridview, & none of the changes have saved.

I have searched & searched but can't find anything close to my problem. If anyone can help, I would GREATLY appreciate, I am on such a time crunch!!!

Thanks!
Kathy

解决方案

Hi...
See this link for gridview.
edit,delete and update in gridview[^]
Thank u.


这篇关于.aspx gridview编辑表单不更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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