当前位置: 首页>>代码示例>>C#>>正文


C# WebControls.FormViewUpdatedEventArgs类代码示例

本文整理汇总了C#中System.Web.UI.WebControls.FormViewUpdatedEventArgs的典型用法代码示例。如果您正苦于以下问题:C# FormViewUpdatedEventArgs类的具体用法?C# FormViewUpdatedEventArgs怎么用?C# FormViewUpdatedEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


FormViewUpdatedEventArgs类属于System.Web.UI.WebControls命名空间,在下文中一共展示了FormViewUpdatedEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: FormView1_ItemUpdated

 protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
 {
     if (e.Exception == null || e.ExceptionHandled)
     {
         Response.Redirect(table.ListActionPath);
     }
 }
开发者ID:alexdresko,项目名称:Proofted,代码行数:7,代码来源:Edit.aspx.cs

示例2: FormView1_ItemUpdated

        protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
        {


            GridView1.DataBind();

            btneditar.Visible = false;
            btneliminar.Visible = false;
        }
开发者ID:Phate339,项目名称:eng.soft.2,代码行数:9,代码来源:Gerir.aspx.cs

示例3: FormView1_ItemUpdated

 protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
 {
     if (e.Exception == null || e.ExceptionHandled)
     {
         Response.Redirect(_table.ListActionPath);
     }
     else
     {
         ShowMessage(e.Exception);
         e.ExceptionHandled = true;
     }
 }
开发者ID:jorik041,项目名称:X.DynamicData,代码行数:12,代码来源:Edit.aspx.cs

示例4: FormView1_ItemUpdated

        //-------------------------------------------------------------------------------------------
        protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
        {
            if (e.Exception == null || e.ExceptionHandled)
               {
                    FormView1.DataBind();

                    ShowError("Hellow");
                    string redirectUrl = table.GetActionPath("Details", FormView1.DataItem);
                    Response.Redirect(redirectUrl);
                    //ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "temp", "<script type='text/javascript'>showMessage('Item Saved!', '" + redirectUrl + "');</script>", false);
               }
        }
开发者ID:weavver,项目名称:weavver,代码行数:13,代码来源:Edit.aspx.cs

示例5: OnItemUpdated

		protected void OnItemUpdated(object sender, FormViewUpdatedEventArgs e)
		{
            if (e.Exception == null)
            {
                Utilities.WriteWindowClose();
            }
            else
            {
                Utilities.OnError(Page, false, e.Exception);
                e.KeepInEditMode = true;
                e.ExceptionHandled = true;
            }
        }
开发者ID:modulexcite,项目名称:CodeFluent-Entities,代码行数:13,代码来源:ContactForm.aspx.cs

示例6: fvProject_ItemUpdated

 protected void fvProject_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
 {
     //TODO: After update show message
     if (e.Exception == null)
     {
         Literal lbl = this.fvProject.FindControl("lblUpdateResult") as Literal;
         if (lbl != null)
         {
             lbl.Visible=true;
         }
         ViewState["Time"] = 1;
         this.Timer1.Enabled = true;
     }
 }
开发者ID:Learion,项目名称:BruceToolSet,代码行数:14,代码来源:ManageProject.aspx.cs

示例7: FormViewAssistenza_ItemUpdated

        protected void FormViewAssistenza_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
        {
            if (GestioneCaricamentoCalendario())
            {
                if (!(e.Exception == null))
                {
                    e.ExceptionHandled = true;
                }

                //Se il cliente appartiene ad un fornitore gli invio una mail, se ha richiesto il servizio.
                //if (Assistenza.SpedizioneMailAssistenzaAfornitore(this.Request.QueryString["IDAss"].ToString(), SqlDataSourceAssistenza.ConnectionString)) ;
                Utility.AllertMessage(this.Page, "E' stato inviato Via EMAIL UN Messaggio di informazioni AL Fornitore per la richiesta del cliente", "ForRicMailSend");

                Response.Redirect("~/Assistenze/AssistenzaListGroupSingolaZona.aspx");
            }
        }
开发者ID:PaoloMisson,项目名称:GATEvolution,代码行数:16,代码来源:AssistenzaVisualizza.aspx.cs

示例8: attractionsForm_ItemUpdated

 protected void attractionsForm_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
 {
     Response.Redirect("~/WebForms");
 }
开发者ID:ArthurYiL,项目名称:ASP.NET-MVC-and-DbGeography,代码行数:4,代码来源:Edit.aspx.cs

示例9: FormView3_ItemUpdated

 protected void FormView3_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
 {
     this.GridView2.DataBind();
 }
开发者ID:Bedi22,项目名称:C-Online-Shopping-web-application,代码行数:4,代码来源:AdminUserMaintain.aspx.cs

示例10: HospitalFormView_ItemUpdated

 protected void HospitalFormView_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
 {
     Response.Redirect("~/hospital.aspx");
 }
开发者ID:henryho1612,项目名称:WebDev-EMMWebsite,代码行数:4,代码来源:viewHospital.aspx.cs

示例11: fvEngLotCardAdd_ItemUpdated

 protected void fvEngLotCardAdd_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
 {
     //当前id号
     Int64 id = Convert.ToInt64(e.Keys[0]);
     //调用过程执行跳转
     JumpToUrlById(id);
 }
开发者ID:yangdan8,项目名称:ydERPTY,代码行数:7,代码来源:LotCardAdd.aspx.cs

示例12: fvEmployeesAdd_ItemUpdated

 protected void fvEmployeesAdd_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
 {
     //更新了至少一条数据
     if (e.AffectedRows > 1)
     {
         //当前id号
         int id = Convert.ToInt32(e.Keys[0]);
         //调用过程执行跳转
         JumpToUrlById(id);
     }
 }
开发者ID:yangdan8,项目名称:ydERPTY,代码行数:11,代码来源:EmployeesAdd.aspx.cs

示例13: FormView1_ItemUpdated

 //ItemUpdated Event Control
 protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
 {
     Response.Redirect("~/doctor.aspx");
 }
开发者ID:henryho1612,项目名称:WebDev-EMMWebsite,代码行数:5,代码来源:viewDoctor.aspx.cs

示例14: FormView1_ItemUpdated

 protected void FormView1_ItemUpdated(object sender, FormViewUpdatedEventArgs e)
 {
     GridView1.DataBind();
 }
开发者ID:hebert-nr,项目名称:KingsCourt,代码行数:4,代码来源:WebForm1.aspx.cs

示例15: d_ItemUpdated

		static void d_ItemUpdated (object sender, FormViewUpdatedEventArgs e)
		{
			if (WebTest.CurrentTest.UserData == null) {
				ArrayList list = new ArrayList ();
				list.Add ("ItemUpdated");
				WebTest.CurrentTest.UserData = list;
			}
			else {
				ArrayList list = WebTest.CurrentTest.UserData as ArrayList;
				if (list == null)
					throw new NullReferenceException ();
				list.Add ("ItemUpdated");
				WebTest.CurrentTest.UserData = list;
			}
		}
开发者ID:JokerMisfits,项目名称:linux-packaging-mono,代码行数:15,代码来源:FormViewTest.cs


注:本文中的System.Web.UI.WebControls.FormViewUpdatedEventArgs类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。