Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Should we escape ' when building command text?
Message
 
 
À
31/12/2007 14:37:03
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01278630
Message ID:
01278715
Vues:
20
>>Do you know what should I change here?
>>
>>If I would be able to fix this problem, I'll later re-write the method using your idea.
>
>
>According to help, the BeginExecuteNonQuery: Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this SqlCommand.
>
>I would change it to ExecNonQuery and try that...

That was my idea as well, but it then would delay the page response.

Ok, let me try that if there is no better alternative.

Thanks again for your help.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform