Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create a delete message box?
Message
De
15/04/2004 05:10:00
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
How to create a delete message box?
Divers
Thread ID:
00895066
Message ID:
00895066
Vues:
65
This is the coding for the deletion in the DataGrid, how to add a function to call a delete message box? Thanks..

private void grdOrderDetail_DeleteCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
{

// Get the row number to delete
int RowToDelete = e.Item.ItemIndex;
// Retrieve the previous Order Detail DataSet
DataSet dsOrderDetail = (DataSet)Session["dsOrderDetail"];
// Tell the business object to delete the specified row
this.oOrderDetail.Delete(dsOrderDetail, RowToDelete);
// Rebind the DataGrid
this.BindControl(this.grdOrderDetail);

}
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform