Click here to Skip to main content
13,249,813 members (73,155 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted 29 Dec 2012

How to read any string from access database using adodb

, 29 Dec 2012
Never ever concatenate data directly to your SQL statement. Instead use OleDbParameter[^].So your query part should look like following:cmdOLEDB.CommandText = "SELECT usern FROM Aut WHERE usern = ?"cmdOLEDB.Parameters.Add("username", OleDbType.VarChar, 50).Value = textbox1.Text;...

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 29-Dec-12 10:08 Available Wendelius
Updates in content. 1 changes had been made.
1 No 29-Dec-12 10:07 Available Wendelius

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Wendelius
Architect
Finland Finland
No Biography provided

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171114.1 | Last Updated 29 Dec 2012
Article Copyright 2012 by Wendelius
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid