Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

How do you get form variables and substitute them into text queries using ADO.NET and also ensure that the common language runtime (CLR) does not confuse your variables for literal strings ? It was easy to do this with classic ASP, but not with .Net

 

Approximately 80% of MySQL ADO.Net examples online have SQL values hardcoded.

 

D Connector/ODBC with Microsoft .NET:

http://www.mysql.com/products/myodbc/manual.html#ODBC.NET(C#)

http://www.mysql.com/products/myodbc/manual.html#ODBC.NET(VB)

 

Approximately all MySQL ADO.Net text query examples are simple selects and there are very little or no action text query examples.

 

They have all been parametized and it is a mission to configure the native drivers for Visual Studio .NET.

eg insert, update, alter table, drop

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...