
#SCRIPTCASE AGREGAR UN CAMPO AL GRID HOW TO#
The following example demonstrates how to use the GridView control and a LinqDataSource control so that you can edit records. "Įn el ejemplo siguiente se muestra cómo usar el GridView control y un LinqDataSource control para que pueda editar registros. The values are retrieved using a SqlDataSource control. Los valores se recuperan mediante un SqlDataSource control.

The following example demonstrates how use the GridView control to display the values from the Customers table of the AdventureWorksLT sample database in Microsoft SQL Server.
#SCRIPTCASE AGREGAR UN CAMPO AL GRID CODE#
A Visual Studio Web site project with source code is available to accompany this topic: Download.Įn el ejemplo siguiente se muestra cómo utilizar el GridView control para mostrar los valores de la tabla Customers de la base de datos de ejemplo AdventureWorksLT en Microsoft SQL Server. Un proyecto de sitio web de Visual Studio con código fuente está disponible para acompañar este tema: Descargar. ICallbackEventHandler IPostBackEventHandler ICallbackContainer IPersistedSelector IPostBackContainer IDataKeysControl IDataBoundControl IDataBoundListControl IFieldControl Ejemplos Implements ICallbackContainer, ICallbackEventHandler, IDataBoundListControl, IDataKeysControl, IFieldControl, IPersistedSelector, IPostBackContainer, IPostBackEventHandler Herencia Implements ICallbackContainer, ICallbackEventHandler, IPersistedSelector, IPostBackContainer, IPostBackEventHandler Public Class GridView Interface IFieldControl Public Class GridView

Public class GridView : .WebControls.CompositeDataBoundControl, .ICallbackEventHandler, .IDataKeysControl, .IPostBackEventHandler, .WebControls.ICallbackContainer, .WebControls.IDataBoundListControl, .WebControls.IFieldControl, .WebControls.IPersistedSelector, .WebControls.IPostBackContainer Public class GridView : .WebControls.CompositeDataBoundControl, .ICallbackEventHandler, .IPostBackEventHandler, .WebControls.ICallbackContainer, .WebControls.IPersistedSelector, .WebControls.IPostBackContainer En este artículo public ref class GridView : System::Web::UI::WebControls::CompositeDataBoundControl, System::Web::UI::ICallbackEventHandler, System::Web::UI::IPostBackEventHandler, System::Web::UI::WebControls::ICallbackContainer, System::Web::UI::WebControls::IPersistedSelector, System::Web::UI::WebControls::IPostBackContainer public ref class GridView : System::Web::UI::WebControls::CompositeDataBoundControl, System::Web::UI::ICallbackEventHandler, System::Web::UI::IDataKeysControl, System::Web::UI::IPostBackEventHandler, System::Web::UI::WebControls::ICallbackContainer, System::Web::UI::WebControls::IDataBoundListControl, System::Web::UI::WebControls::IFieldControl, System::Web::UI::WebControls::IPersistedSelector, System::Web::UI::WebControls::IPostBackContainer

The GridView control enables you to select, sort, and edit these items. El control GridView le permite seleccionar, ordenar y editar estos elementos.

Displays the values of a data source in a table where each column represents a field and each row represents a record. Muestra los valores de un origen de datos en una tabla en la que cada columna representa un campo y cada fila representa un registro.
