當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。