Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to fill in DataField of Gridview at runtime
Message
De
19/04/2006 14:50:39
 
 
À
19/04/2006 14:04:09
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01114676
Message ID:
01114702
Vues:
14
Hi Jerry,

One way is to place all the potential columns in the DataGrid at design time and then at run time, depending on the requirements, hide selected columns using the Visible (=false;) property of the appropriate column(s).

To manipulate data in specific columns of specif rows at run time you can use the ItemDataBound event of the grid.

Bill

>Is there a way to fill in a Gridview's information at runtime in a Asp.Net webform?
>
>Depending on the button that was clicked, I would like the Gridview to show certain columns and hide others. What sort of technique works best in this case?
>
>Thanks,
>
>Jerry
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform