Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A quick note on my problems
Message
De
14/12/2001 10:50:39
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
A quick note on my problems
Divers
Thread ID:
00594435
Message ID:
00594435
Vues:
47
Some of the things that were giving me problems.

First I tried to create a New DataGridColumn Style.
You cannot do this. What you do is create a New DataGridTextBoxColumn()

I also tried to add a New GridColumnStylesCollection.
You cannot do this. And the way you add to the collection is NOT
GridColumnStylesCollection.Add(), but
DataGridTableStyle.GridColumnStyles.Add()

Also, as I said before, you need to set the DataGridTextBoxColumn to New for
every column you create.

And last but not least, you need to set the TableStyle().MappingName to ""
before setting the DataGrid.DataSource and then set the
TableStyle().MappingName back to the TableName.

Hope this information is useful!
Randy Belcher
AFG Industries, Inc.
Répondre
Fil
Voir

Click here to load this message in the networking platform