Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date Insert Error!
Message
 
À
18/03/2003 16:18:34
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
00767245
Message ID:
00768359
Vues:
22
Thank u Plamen.

>In SqlDbType enum there are constants for all data types, supported by SQL Server (if you use OleDb namespace instead of SqlClient, use OleDbType enum).
>
>I use this for ALL fields - there are situations, in which is impossible to do this in other way. Example: you construct SQL SELECT and add to WHERE clause condition for VARCHAR field:
>
>"... WHERE SomeField = '" & NewString & "'"
>
>
>Will this work if NewString = "asdf'ghjk" ???
<><><><><><><><><><><><><><><><><><><><>
<><> REMEMBER,,,,KNOWLEDGE IS POWER <><>
<><><><><><><><><><><><><><><><><><><><>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform