Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding a dataview to a grid
Message
De
23/10/2003 20:56:59
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Binding a dataview to a grid
Divers
Thread ID:
00841932
Message ID:
00841932
Vues:
56
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform