更新事件不起作用 [英] update event not working

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

问题描述

当我单击更新"按钮时,更新事件不起作用自动重定向登录页面,并且显示了URL(返回URL .....)

update event not working when i clicked on update button automatically redirect login page and url is showing(return url .........)

string ItemNo = Convert.ToString(Session["EditValue"]);
            this.WriteToItemDataset(ItemNo);            
            this.errorMessageHtmlCell.InnerText = "Record(s) saved successfully."; //+ ItemNo;
            this.errorMessageHtmlCell.Attributes.Add("style", "color:Green");
            BindDataLIst();
            Editor3.Value = "";
            trMsgContent.Visible = true;
            trEditorMsg.Visible = false;

推荐答案

使用try and catch块捕获错误..
Use try and catch block to catch the error..


这篇关于更新事件不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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