Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding a dataview to a grid
Message
From
23/10/2003 20:56:59
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Binding a dataview to a grid
Miscellaneous
Thread ID:
00841932
Message ID:
00841932
Views:
55
I'm trying to bind a data grid to a view that I'm creating via the developers guild (which isn't providing much guildance). There's nothing in the example application showing this (or much of anything else for that matter)! Can anyone help me out with what properties need to be setin order to bind the view to a dataview(I've bound grids to dataviews in striaght vb.net) and how to referance the dataveiw after it has been created via the developers guild (see below)?

Dim ds As mmDataSet = CType(Me.GetCurrentDataSet(), mmDataSet)

' Create a custom DataView sorted by phone
Dim dv As New DataView(ds.Tables(0))
dv.Sort = "fldClCompanyName"
ds.AddDataView(dv, "dvClientList")


How do I get a referance to this view in my form?
On a side note: I'm trying advocate using vb.net and this framework at the state shop I work at but the limited docs and example application are not helping my cause.
They would be switching from VFP and maxframe which has a good example application that demos most of the framework and good docs to MM.
Next
Reply
Map
View

Click here to load this message in the networking platform