更新表单问题(使用C#的MS-Access) [英] Update form problem( ms-access with c#)

查看:103
本文介绍了更新表单问题(使用C#的MS-Access)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在使用(ASP.Net和C#)Ms-Access数据库.
我的问题是我需要编辑我的客户配置文件,因此我放置了一个超链接,例如``编辑配置文件'',它会重定向到一些aspx文件...在这里使用Select查询在页面加载中显示他的所有配置文件详细信息...我现在有一个更新按钮...在更新按钮"中,单击我已编写更新查询".我的问题是,当我调试时我的值没有得到更新,并且也仅获得在页面加载期间加载的先前值.请尽快帮助我,以解决此问题...

Hi Everybody,
I am working with (ASP.Net with c#) Ms-Access database.
My problem is I need to edit My client profile.So I have put one hyperlink like ''Edit profile'' which redirects to some aspx file...Here using Select query am displaying all his profile details in Page load...I have one update button now...In ''update button '' click i have written update query..My problem is My values are not getting updated when I debug also am getting previous values only which are loaded during my Page load...Please help me soon to solve this issue soon......

推荐答案

好,还要检查您的Page_Load是否具有If(!IsPostBack)标记
ok also check if you Page_Load has If(!IsPostBack) tag


检查您的更新查询没有给出错误,还检查您的更新查询是否具有正确的筛选条件,请粘贴代码以便我提供帮助
Check ur Update query is not giving error and also check if your update query has correct filter critera , Paste the code so that i can help


这篇关于更新表单问题(使用C#的MS-Access)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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