|
Este artículo se tradujo de forma manual. Mueva el puntero sobre las frases del artículo para ver el texto original.
|
Traducción
Original
|
LinqDataSourceStatusEventArgs.ExceptionHandled (Propiedad)
Ensamblado: System.Web.Extensions (en System.Web.Extensions.dll)
protected void LinqDataSource_Inserted(object sender, LinqDataSourceStatusEventArgs e) { if (e.Exception == null) { Product newProduct = (Product)e.Result; Literal1.Text = "The new product id is " + newProduct.ProductID; Literal1.Visible = true; } else { LogError(e.Exception.Message); Literal1.Text = "We are sorry. There was a problem saving the record. The administrator has been notified."; Literal1.Visible = true; e.ExceptionHandled = true; } }
Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2
.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.