Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a datagrid
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00857342
Message ID:
00858129
Vues:
18
>I do have a follow-up question tho...
>In VB.Net during design time, when I place the DataGrid on the form, I don't see any way to tell it how many columns, what field they correspond to, how wide the column should default to, or any formatting information for the columns...

Take a look at the TableStyles property of the grid. You need to defineone TableStyle, set is MappingName, and then define the its columns (GridColumnsStyle) to get that type of behavior.

I have an example on how to use grid TableStyles in here:

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=c70c9240-d404-4f5c-b2fc-45475ef1eeb0

This example is probably more complicated than what you are looking for, but it might help you if you don't find anything else.



> (are you familar with Visual FoxPro?)... Am I missing something or is the VB.Net DataGrid that different from the Visual FoxPro DataGrid (which is what I'm used to)?

Yes, I am very familiar with VFP. The grid that comes with VB.NET is much more complicated (and not necessary more powerful) than the one in VFP.
Hector Correa
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform