当前位置: 首页>>代码示例>>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;未经允许,请勿转载。