Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Importing the proper namespace
Message
 
À
09/09/2010 15:20:03
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01480712
Message ID:
01480714
Vues:
47
>I am trying to figure out which namespace to import to gain access to the SQL Anywhere data provider in .NET. For now, I have these namespaces which allow me to connect to OleDb, SQLClient and ODBC data providers.
>
>
>Imports System.Data.OleDb
>Imports System.Data.SqlClient
>Imports System.Data.Odbc
>
>
>If I use ODBC, the parameteres are not properly built. And, loDataParameterODBC.DbType.ToString will always return a string as the data type even if the field is a date or a time.

I'd guess you have some Sybase namespaces available - something like Sybase.data.client maybe?
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform