Sugerir traducción
 
Otros han sugerido:

progress indicator
No hay más sugerencias.
Evaluar y enviar comentarios
Contraer todo/Expandir todo Contraer todo
Ver contenido:  en paraleloVer contenido: en paralelo
.NET Framework Class Library
DataView..::.AllowEdit Property

Gets or sets a value that indicates whether edits are allowed.

Namespace:  System.Data
Assembly:  System.Data (in System.Data.dll)
Visual Basic
Public Property AllowEdit As Boolean
    Get
    Set
C#
public bool AllowEdit { get; set; }
Visual C++
public:
property bool AllowEdit {
    bool get ();
    void set (bool value);
}
F#
member AllowEdit : bool with get, set

Property Value

Type: System..::.Boolean
true, if edits are allowed; otherwise, false.

The following example invokes the AllowEdit method before editing a row in a DataView.

Visual Basic
Private Sub EditRow(view As DataView)
    view.AllowEdit = True
    view(0).BeginEdit
    view(0)("FirstName") = "Mary"
    view(0)("LastName") = "Jones"
    view(0).EndEdit
End Sub
C#
private void EditRow(DataView view)
{
    view.AllowEdit = true;
    view[0].BeginEdit();
    view[0]["FirstName"] = "Mary";
    view[0]["LastName"] = "Jones";
    view[0].EndEdit();
}

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Biblioteca de clases de .NET Framework
DataView..::.AllowEdit (Propiedad)

Obtiene o establece un valor que indica si se permite editar.

Espacio de nombres:  System.Data
Ensamblado:  System.Data (en System.Data.dll)
Visual Basic
Public Property AllowEdit As Boolean
    Get
    Set
C#
public bool AllowEdit { get; set; }
Visual C++
public:
property bool AllowEdit {
    bool get ();
    void set (bool value);
}
F#
member AllowEdit : bool with get, set

Valor de propiedad

Tipo: System..::.Boolean
true si se permiten ediciones; en caso contrario, false.

En el ejemplo siguiente se invoca el método AllowEdit antes de editar una fila de un DataView.

Visual Basic
Private Sub EditRow(view As DataView)
    view.AllowEdit = True
    view(0).BeginEdit
    view(0)("FirstName") = "Mary"
    view(0)("LastName") = "Jones"
    view(0).EndEdit
End Sub
C#
private void EditRow(DataView view)
{
    view.AllowEdit = true;
    view[0].BeginEdit();
    view[0]["FirstName"] = "Mary";
    view[0]["LastName"] = "Jones";
    view[0].EndEdit();
}

.NET Framework

Compatible con: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Compatible con: 4, 3.5 SP1

Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows XP SP2 x64 Edition, 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.
Contenido de la comunidad   ¿Qué es Community Content?
Agregar contenido nuevo RSS  Anotaciones
Processing
© 2012 Microsoft. Reservados todos los derechos. Términos de uso | Marcas Registradas | Privacidad
Page view tracker