Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date cannot be converted to varianttype
Message
De
19/01/2006 12:24:44
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Date cannot be converted to varianttype
Divers
Thread ID:
01088510
Message ID:
01088510
Vues:
79
I have this nice function which receives a varianttype as the second parameter:
    ' Add a parameter in the hashtable
    ' expC1 Field
    ' expO1 Value
    Public Function ParameterAdd(ByVal tcField As String, ByVal toValue As VariantType) As Boolean
        oParameters.Add("@" + tcField, toValue)
    End Function
When I try to pass a date to the second parameter, I have a message that says that the date cannot be converted to a varianttype. Is there a workaround for that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform