本文整理汇总了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();
}
示例2: EmpQualStatusGV_RowCancelingEdit
protected void EmpQualStatusGV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
EmpQualStatusGV.EditIndex = -1;
EmpQualStatusGV.DataSource = EducationSQL;
EmpQualStatusGV.DataBind();
}
示例3: gvSize_RowCancelingEdit
protected void gvSize_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
gvSize.EditIndex = -1;
BindSizeMasterGrid();
}
示例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();
}
示例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();
}
示例6: GridView1_RowCancelingEdit
protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
obj = (ObjectDataSource)Session["obj"];
GridView1.EditIndex = -1;
GridView1.DataSource = obj;
GridView1.DataBind();
}
示例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);
}
示例8: gvPriceHistory_RowCancelingEdit
public void gvPriceHistory_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
gvPriceHistory.EditIndex = -1;
gvPriceHistory.DataBind();
DialogMode = false;
EditMode = false;
}
示例9: CancelEdit
protected void CancelEdit(object sender, GridViewCancelEditEventArgs e)
{
gvArticle.EditIndex = -1;
gvArticle.DataSource = dv;
gvArticle.DataBind();
}
示例10: gdvData_RowCancelingEdit
//取消
protected void gdvData_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
gdvData.EditIndex = -1;
gdvData.ShowFooter = false;
BinddtgData();
lblMessage.Visible = false;
}
示例11: BranchEmpCurrentStatusGV_RowCancelingEdit
protected void BranchEmpCurrentStatusGV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
bEmployeeStatus = new BranchEmployeeStatusManager();
BranchEmpCurrentStatusGV.EditIndex = -1;
DataTable getds = BranchEmployeeStatusManager.getSpecBranchEmpStatus(branchID);
BindDataSetToGV(getds);
}
示例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";
}
示例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();
}
示例14: AssignedEmpGV_RowCancelingEdit
protected void AssignedEmpGV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
bEmployeeStatus = new BranchEmployeeStatusManager();
AssignedEmpGV.EditIndex = -1;
DataTable getds = BranchEmployeeStatusManager.BindGrid();
BindDataSetToGV(getds);
}
示例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();
}