當前位置: 首頁>>代碼示例>>C#>>正文


C# WebControls.DetailsViewCommandEventArgs類代碼示例

本文整理匯總了C#中System.Web.UI.WebControls.DetailsViewCommandEventArgs的典型用法代碼示例。如果您正苦於以下問題:C# DetailsViewCommandEventArgs類的具體用法?C# DetailsViewCommandEventArgs怎麽用?C# DetailsViewCommandEventArgs使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


DetailsViewCommandEventArgs類屬於System.Web.UI.WebControls命名空間,在下文中一共展示了DetailsViewCommandEventArgs類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: JobForm_ItemCommand

 protected void JobForm_ItemCommand(object sender, DetailsViewCommandEventArgs e)
 {
     if (e.CommandName == "Cancel")
     {
         Response.Redirect("Default.aspx");
     }
 }
開發者ID:bigWebApps,項目名稱:Substitute,代碼行數:7,代碼來源:FulFillJob.aspx.cs

示例2: DetailsView1_ItemCommand

 protected void DetailsView1_ItemCommand(object sender, DetailsViewCommandEventArgs e)
 {
     if (e.CommandName == DataControlCommands.CancelCommandName)
     {
         Response.Redirect(table.ListActionPath);
     }
 }
開發者ID:overeemm,項目名稱:yawamt,代碼行數:7,代碼來源:Insert.aspx.cs

示例3: ContactDetailsView_ItemCommand

 protected void ContactDetailsView_ItemCommand(object sender, DetailsViewCommandEventArgs e)
 {
     if (e.CommandName == "Cancel")
     {
         Response.Redirect("ContactList.aspx");
     }
 }
開發者ID:jasimuddin534,項目名稱:jasim_basis,代碼行數:7,代碼來源:ContactDetails.aspx.cs

示例4: accountsDetailsView_ItemCommand

 protected void accountsDetailsView_ItemCommand(Object sender,DetailsViewCommandEventArgs e)
 {
     if (e.CommandName == "Cancel")
     {
         Response.Redirect("AccountList.aspx");
     }
 }
開發者ID:jasimuddin534,項目名稱:jasim_basis,代碼行數:7,代碼來源:AccountDetails.aspx.cs

示例5: dvCurrPoll_ItemCommand

 protected void dvCurrPoll_ItemCommand(object sender, DetailsViewCommandEventArgs e)
 {
     if (e.CommandName == "Cancel")
     {
         DeselectPoll();
     }
 }
開發者ID:Nevs12,項目名稱:LiveandevSite,代碼行數:7,代碼來源:ManagePolls.aspx.cs

示例6: opportunityDetailsView_ItemCommand

 protected void opportunityDetailsView_ItemCommand(Object sender, 
                                                            DetailsViewCommandEventArgs e)
 {
     if (e.CommandName == "Cancel")
     {
         Response.Redirect("OpportunityList.aspx");
     }
 }
開發者ID:jasimuddin534,項目名稱:jasim_basis,代碼行數:8,代碼來源:OpportunityDetails.aspx.cs

示例7: dvwShippingMethod_ItemCommand

 protected void dvwShippingMethod_ItemCommand(object sender, DetailsViewCommandEventArgs e)
 {
     if (e.CommandName == "Cancel")
      {
     gvwShippingMethods.SelectedIndex = -1;
     gvwShippingMethods.DataBind();
      }
 }
開發者ID:BGCX261,項目名稱:zqerpjohnny-svn-to-git,代碼行數:8,代碼來源:ManageShippingMethods.aspx.cs

示例8: AccountDetailsView_ItemCommand

 protected void AccountDetailsView_ItemCommand(object sender, DetailsViewCommandEventArgs e)
 {
     if (e.CommandName == "Cancel")
     {
         AccountDetailsView.DataBind();
         AccountDetailsView.ChangeMode(DetailsViewMode.Insert);
     }
 }
開發者ID:jasimuddin534,項目名稱:jasim_basis,代碼行數:8,代碼來源:Contacts.aspx.cs

示例9: CompanyDetailsView_ItemCommand

 protected void CompanyDetailsView_ItemCommand(object sender, DetailsViewCommandEventArgs e)
 {
     if (e.CommandName == "Cancel")
     {
         Label1.Text = "Submission cancelled <br/> <p>Your changes have been discarded</p>";
         UpdatePanel1.Update();
     }
 }
開發者ID:jasimuddin534,項目名稱:jasim_basis,代碼行數:8,代碼來源:CompanySetup.aspx.cs

示例10: dvCategory_ItemCommand

 protected void dvCategory_ItemCommand(object sender, DetailsViewCommandEventArgs e)
 {
     if (e.CommandName == "Cancel")
     {
         gvCategories.SelectedIndex = -1;
         gvCategories.DataBind();
     }
 }
開發者ID:Nevs12,項目名稱:LiveandevSite,代碼行數:8,代碼來源:ManageCategories.aspx.cs

示例11: dvCurrComment_ItemCommand

 protected void dvCurrComment_ItemCommand(object sender, DetailsViewCommandEventArgs e)
 {
     if (e.CommandName == "Cancel")
     {
         gvAllComments.SelectedIndex = -1;
         gvAllComments.DataBind();
     }
 }
開發者ID:Nevs12,項目名稱:LiveandevSite,代碼行數:8,代碼來源:ManageComments.aspx.cs

示例12: dvwOrderStatus_ItemCommand

 protected void dvwOrderStatus_ItemCommand(object sender, DetailsViewCommandEventArgs e)
 {
     if (e.CommandName == "Cancel")
      {
     gvwOrderStatuses.SelectedIndex = -1;
     gvwOrderStatuses.DataBind();
      }
 }
開發者ID:BGCX261,項目名稱:zqerpjohnny-svn-to-git,代碼行數:8,代碼來源:ManageOrderStatuses.aspx.cs

示例13: dvMusterijeDetalji_ItemCommand

        //preusmeravanje na stranicu Zakljucnice preko dugmeta OtvoriZakljucnicu
        protected void dvMusterijeDetalji_ItemCommand(object sender, DetailsViewCommandEventArgs e)
        {
            if (e.CommandName == "btnOtvoriZakljucnicu")
            {
                IDMusterije = e.CommandArgument.ToString();

            }
        }
開發者ID:urkep79,項目名稱:TALARIS-1,代碼行數:9,代碼來源:Musterije.aspx.cs

示例14: inviaMail

        protected void inviaMail(object sender, DetailsViewCommandEventArgs e)
        {
            if (e.CommandName == "inviaMail")
            {
                //pagina invio mail
                Response.Redirect("~/Admin/InviaMail.aspx" + "?ID=" + idSocieta);

                }
        }
開發者ID:caspandre,項目名稱:aptportal,代碼行數:9,代碼來源:GestioneSocieta.aspx.cs

示例15: OnBubbleEvent

        /// <internalonly/>
        /// <devdoc>
        /// </devdoc>
        protected override bool OnBubbleEvent(object source, EventArgs e) {
            if (e is CommandEventArgs) {
                DetailsViewCommandEventArgs args = new DetailsViewCommandEventArgs(source, (CommandEventArgs)e);

                RaiseBubbleEvent(this, args);
                return true;
            }
            return false;
        }
開發者ID:nlh774,項目名稱:DotNetReferenceSource,代碼行數:12,代碼來源:DetailsViewRow.cs


注:本文中的System.Web.UI.WebControls.DetailsViewCommandEventArgs類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。