本文整理汇总了C#中System.Web.UI.WebControls.GridViewCancelEditEventArgs类的典型用法代码示例。如果您正苦于以下问题:C# GridViewCancelEditEventArgs类的具体用法?C# GridViewCancelEditEventArgs怎么用?C# GridViewCancelEditEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
GridViewCancelEditEventArgs类属于System.Web.UI.WebControls命名空间,在下文中一共展示了GridViewCancelEditEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: PriceGridView_RowCancelingEdit
protected void PriceGridView_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
PriceGridView.EditIndex = -1;
string supplierId = Convert.ToString(Session["supplierId"]);
PriceGridView.DataSource = controller.acceptSupplierPriceList(supplierId);
PriceGridView.DataBind();
}
示例2: GridView1_RowCancelingEdit
protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
GridView1.EditIndex = -1;
Class1 ob = new Class1();
GridView1.DataSource = ob.zShowGridView(eBophan.Text, eChonngay.Text);
GridView1.DataBind();
}
示例3: gridItens_RowCancelingEdit
protected void gridItens_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
GridViewRow r = gridItens.Rows[e.RowIndex];
r.BackColor = Color.WhiteSmoke;
gridItens.EditIndex = -1;
RecarregaGrid();
}
示例4: gvAttributes_RowCancelingEdit
protected void gvAttributes_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
this.gvAttributes.EditIndex = -1;
this.gvAttributes.Columns[2].Visible = false;
((ImageButton)this.gvAttributes.FooterRow.FindControl("imgNew")).Visible = this.application.IAmManager;
this.bindGridView();
}
示例5: GridView1_RowCancelingEdit
protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
aManager = new ManagerManager();
GridView1.DataSource = aManager.ShowAllUser();
GridView1.EditIndex = -1;
GridView1.DataBind();
}
示例6: GridView1_RowCancelingEdit
protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
GridView1.EditIndex = -1;
sclist2 = (List<ShoppingItem>)Session["sclist"];
GridView1.DataSource = sclist2;
GridView1.DataBind();
}
示例7: grDS_RowCancelingEdit
protected void grDS_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
e.Cancel = true;
grDS.EditIndex = -1;
int ma = int.Parse(drNBH.SelectedItem.Value.ToString());
loadDS(ma);
}
示例8: destinatariosFrecuentesGridView_RowCancelingEdit
protected void destinatariosFrecuentesGridView_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
destinatariosFrecuentesGridView.EditIndex = -1;
destinatariosFrecuentesGridView.DataSource = ((Entidades.DatosEmailAvisoComprobantePersona)ViewState["datosEmailAvisoComprobantePersona"]).DestinatariosFrecuentes;
destinatariosFrecuentesGridView.DataBind();
BindearDropDownLists();
}
示例9: permisosGridView_RowCancelingEdit
protected void permisosGridView_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
permisosGridView.EditIndex = -1;
permisosGridView.DataSource = ViewState["permisos"];
permisosGridView.DataBind();
BindearDropDownLists();
}
示例10: GridView1_RowCancelingEdit
/// <summary>
/// 取消时触发
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
this.GridView1.EditIndex = -1;
this.lblMsg.Visible = false;
this.lblAccMsg.Visible = false;
this.GridBind();
}
示例11: gvDanhSachTienDo_RowCancelingEdit
protected void gvDanhSachTienDo_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
e.Cancel = true;
string mathamchieu = lblThamChieu.Text;
gvDanhSachTienDo.EditIndex = -1;
loadDSDeXuat(mathamchieu);
}
示例12: GV_RowCancelingEdit
protected void GV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
// 设置EditIndex
this.GV.EditIndex = -1;
// 绑定数据
this.RebindGridView(false);
}
示例13: grDSClaim0_RowCancelingEdit
protected void grDSClaim0_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
e.Cancel = true;
grDSClaim0.EditIndex = -1;
loadDSClaimChoThanhToan();
}
示例14: GridViewAdminProfile_RowCancelingEdit
void GridViewAdminProfile_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
GridViewAdminProfile.EditIndex = -1;
DataSet ds = new DataSet();
ds = obj.Data_inventer("select FName,LName,Phone,Address from User_Info where UserID='" + Session["id"].ToString() + "'");
GridViewAdminProfile.DataSource = ds;
GridViewAdminProfile.DataBind();
}
示例15: GridView1_RowCancelingEdit
protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
{
// DataSet ds = (DataSet)ViewState["dataset"];
GridView1.EditIndex = -1;
// GridView1.DataSource = ds;
// GridView1.DataBind();
ispolni();
}