Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
For each Row
Message
 
À
01/08/2007 16:32:49
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01245258
Message ID:
01245444
Vues:
23
Mike:

I am not using a dataview. here is the code that show how i am using it.
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
        If Len(Trim(Me.ComboBox1.Text)) > 0 And Trim(Me.ComboBox1.Text) <> "All" Then

            '    If Trim(Me.ComboBox1.Text) <> "All" Then
            Me.DsINVAssetsDepreciationLookupBindingSource.Filter = "DepartmentAbbreviation = '" + Me.ComboBox1.Text + "'"
            'Me.INV_AssetsDepreciation_LookupTableAdapter.Fill(DsINV_AssetsDepreciation_Lookup.INV_AssetsDepreciation_Lookup)
        Else
            'Me.DsINVAssetsDepreciationLookupBindingSource.Filter = ""
            Me.DsINVAssetsDepreciationLookupBindingSource.RemoveFilter()


        End If

    End Sub
Gregorio J. Placeres
IT Analyst
Uniform Accounting Network
Auditor of State of Ohio
88 East Broad Street
P.O. Box 1140
Columbus, Ohio 43216-1140

Tel. 614-728-4694

Gregorio_J@MSN.COM

http://www.gjpproductions.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform