Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a datagrid
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00857342
Message ID:
00858131
Views:
18
BTW, some of the third party grid controls for .NET do make the layout definition much easier than the one that comes with VS.NET



>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform