Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change headers on webform datagrid
Message
Information générale
Forum:
ASP.NET
Catégorie:
WebForms
Divers
Thread ID:
00680143
Message ID:
00680162
Vues:
22
This message has been marked as the solution to the initial question of the thread.
In DataGrid.ItemCreated event, the following code will work...

e.Item.Cells[0].Text = "MyHeading";

>In my datagrid I have a Create columns automatically at run time turned ON. I only have one column and it is a button column for selecting a record. Under General, I do not have any datasource. In my form, I have the user select a date range and then click a query button. During the query, I use the vfptoolkit to create a connection and run a stored procedure. I then put the data into a data view and bind the dataview to the datagrid. The grid shows up, but it has the field names for the headers. Before it displays, I want to replace the field name with better descriptions. Does anyone know where I would do that maybe even some snippit of code?
>
>Kirk
- Jayesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform