Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TableStyles does not work
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
WebForms
Titre:
TableStyles does not work
Divers
Thread ID:
00949212
Message ID:
00949212
Vues:
52
All:

I have a WinForms grid that will not accept a TableStyle. Here is my situation, I have a typed data set that has a relation.

SCHOOLS --> 1-Many PROGRAMS

The data set is populated and all relations are working--as far as I can tell.

On this form I have a listbox that is bound to SCHOOLS. In addition, I also have a grid that is bound to the data set with DATAMEMBER = "Schools.SchoolsPrograms".

Having the DATAMEMBER set to this is the only way I can get the grid to show the related programs for each school in the listbox.

However, when I add a TableStyle and add the custom columns none of this shows up at runtime.

What is it that I don't understand? Is the TableStyles limited only to simple tables--not relations? What are my options to customize the grid column? Because I really don't want to show the foreign and primary keys in the grid.

Thanks!

--Paul
Répondre
Fil
Voir

Click here to load this message in the networking platform