Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dataset column mapping
Message
De
04/02/2004 12:02:10
 
 
À
04/02/2004 10:52:41
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00873933
Message ID:
00874011
Vues:
27
Hi Steven,

One way is that before calling the DataGrid.DataBind() method you should be able to change the specific column header text with
MyGrid.Columns[0].HeaderText = "My header Text";
Bill

>Hello:
>
>I’m using a dataset derived from SQL Server SP. When binding it to a grid the column headers default to the column headers from the SP. All very logical. I would like to be able to dynamically change the column headers after the Dataset is created to better reflect the information displayed. I know I could use views, but in this situation I need to change the column header in the dataset after the SP is ran.
>
>Is this possible?
>
>Thanks, Steve
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