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


C# GridViewCancelEditEventArgs类代码示例

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


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

示例1: grid1_RowCancelingEdit

    protected void grid1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        grid1.EditIndex = -1;
        statusLabel.Text = "Editing canceled";

        BindGrid();
    }
开发者ID:dornotry,项目名称:ACT,代码行数:7,代码来源:AdminCategories.aspx.cs

示例2: EmpQualStatusGV_RowCancelingEdit

    protected void EmpQualStatusGV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        EmpQualStatusGV.EditIndex = -1;

        EmpQualStatusGV.DataSource = EducationSQL;
        EmpQualStatusGV.DataBind();
    }
开发者ID:jLeta,项目名称:HN_HR_1.0,代码行数:7,代码来源:emp-id-change.aspx.cs

示例3: gvSize_RowCancelingEdit

    protected void gvSize_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        gvSize.EditIndex = -1;

        BindSizeMasterGrid();
        
    }
开发者ID:xyzthought,项目名称:iBeyondZ,代码行数:7,代码来源:MasterData.aspx.cs

示例4: grvCitas_RowCancelingEdit

 protected void grvCitas_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     //Reset the edit index.
     grvCitas.EditIndex = -1;
     //Bind data to the GridView control.
     DataBind();
 }
开发者ID:npvb,项目名称:teleton,代码行数:7,代码来源:CalendarioCitas.aspx.cs

示例5: GridView_RowCancelingEdit

 protected void GridView_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     //Reset the edit index.
     GridView1.EditIndex = -1;
     //Bind data to the GridView control.
     BindData();
 }
开发者ID:nojlkobhuk,项目名称:aspnet_tfspusher,代码行数:7,代码来源:Default.aspx.cs

示例6: GridView1_RowCancelingEdit

 protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     obj = (ObjectDataSource)Session["obj"];
     GridView1.EditIndex = -1;
     GridView1.DataSource = obj;
     GridView1.DataBind();
 }
开发者ID:NairaMagdy,项目名称:XDG,代码行数:7,代码来源:EditStudentinformationbyadmin.aspx.cs

示例7: gvList_RowCancelingEdit

 protected void gvList_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     this.gvList.EditIndex = -1;
     this.GridViewDataBind(false);
     //this.btnAdd.Enabled = true;
     this.SetGvListHeaderAddBtn(true);
 }
开发者ID:notinmood,项目名称:HilandCompany,代码行数:7,代码来源:SalaryList.aspx.cs

示例8: gvPriceHistory_RowCancelingEdit

 public void gvPriceHistory_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvPriceHistory.EditIndex = -1;
     gvPriceHistory.DataBind();
     DialogMode = false;
     EditMode = false;
 }
开发者ID:kiquenet,项目名称:B4F,代码行数:7,代码来源:InstrumentPriceUpdate.aspx.cs

示例9: CancelEdit

    protected void CancelEdit(object sender, GridViewCancelEditEventArgs e)
    {
        gvArticle.EditIndex = -1;
        gvArticle.DataSource = dv;

        gvArticle.DataBind();
    }
开发者ID:G2559,项目名称:viikkotehtava-1,代码行数:7,代码来源:G2559_smliiga.aspx.cs

示例10: gdvData_RowCancelingEdit

 //取消
 protected void gdvData_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gdvData.EditIndex = -1;
     gdvData.ShowFooter = false;
     BinddtgData();
     lblMessage.Visible = false;
 }
开发者ID:tedi3231,项目名称:DMCProject,代码行数:8,代码来源:ManageUser.aspx.cs

示例11: BranchEmpCurrentStatusGV_RowCancelingEdit

    protected void BranchEmpCurrentStatusGV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        bEmployeeStatus = new BranchEmployeeStatusManager();

        BranchEmpCurrentStatusGV.EditIndex = -1;
        DataTable getds = BranchEmployeeStatusManager.getSpecBranchEmpStatus(branchID);
        BindDataSetToGV(getds);
    }
开发者ID:jLeta,项目名称:HN_HR_1.0,代码行数:8,代码来源:BranchCurrentStatus.aspx.cs

示例12: gv_currency_RowCancelingEdit

 protected void gv_currency_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gv_currency.EditIndex = -1;
     gv_currency.Columns.Clear();
     bindDataSource();
     this.lbtn_addcurrency.Enabled = true;
     this.lbtn_addcurrency.Text = "Add Currency";
 }
开发者ID:gracianani,项目名称:SINO_CRM,代码行数:8,代码来源:AdminCurrencyDic.aspx.cs

示例13: dvTimeSheet_RowCancelingEdit

    protected void dvTimeSheet_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        // Reset the edit index (so no columns are being edited)
        dvTimeSheet.EditIndex = -1;

        // Redraw the grid view (you can call a method that queries the db and sets/binds the data source)
        populategridview();
    }
开发者ID:the604ntagz,项目名称:comp4911-flyingfish,代码行数:8,代码来源:TimeSheetv3.aspx.cs

示例14: AssignedEmpGV_RowCancelingEdit

    protected void AssignedEmpGV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        bEmployeeStatus = new BranchEmployeeStatusManager();

        AssignedEmpGV.EditIndex = -1;
        DataTable getds = BranchEmployeeStatusManager.BindGrid();
        BindDataSetToGV(getds);
    }
开发者ID:jLeta,项目名称:HN_HR_1.0,代码行数:8,代码来源:list-of-assigned-employee.aspx.cs

示例15: GridView1_RowCancelingEdit

    protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        //Tirei a linha clicada do modo de edição
        //E Voltei para o modo normal
        GridView1.EditIndex = -1;

        this.CarregarGrid();
    }
开发者ID:yfeitosa,项目名称:jqwidgets,代码行数:8,代码来源:Exemplo1.aspx.cs


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