Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding a dataview to a grid
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00841932
Message ID:
00842437
Views:
17
This message has been marked as the solution to the initial question of the thread.
Try

BindingSource = ClientList
BindingSourceMember = ClientList.DefaultView
Style MappingName = tblClientCl
Column MappingName = fldDBA

Remember case is important!

>Carroll,
>
>I've gotten part of it to work. My BO is ClientList the table name is tblClientCl and I'm trying to bind to the defaultview.
>In the Grids Binding Source property I have ClientList
>In the BindingSourceMember I have tblClientCl.defaultview
>In the Tabstyles I have tblClientCl.defaultview (I think this is wrong)
>and in the column I have tblClientCl.defaultview.fldCompanyName and
>Column 2 = tblClientCl.defaultview.fldDBA
>
>
>Now I am getting the grid to populate but it isn't following the tabstyles that I setup.
>The defaultview has 3 fields the first be a PK I don't want to display. The Tabstyle I setup only has 2 columns but all 3 are being displayed.
>
>
>
>I've spent 4 hours on this and haven't made much Headway.
>I'm thinking Trucking school? Learn to drive the Big rigs!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform