Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I format two grids using the same GridItem?
Message
 
 
À
21/05/2009 11:26:45
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01401161
Message ID:
01401327
Vues:
27
>>>Maybe not (not sure), but you could probably simulate this by passing in a TableStyle object and setting two objects the same with the same code. There are some settings that might be specific to the grid, but you would see those things.
>>>Tim
>>
>>Yes, that's what I'm going to try, thanks.
>
>Naomi,
>
>If you select your grid in design mode and go to your properties window do you have a collection property for TableStyles? I have just set up the table styles here in the DataGridTableStyle collection editor. This allows you to have them all pre setup and all you have to do is switch to them at runtime in your code. Is this available in your version you are using?
>Tim

Yes, it is available there, that's the first thing I tried when I started working on this.

My question is - can I do it manually with one grid, then copy this grid and have it working OK? They should use different datatables but both use the same DataSet/TA class.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform