insert binary that to access database

J

jcharth

Hello I remember there is a way to insert special charaters with ? but
i cant find an example

right now i am inserting data using a simple sql command line but i
would like to replace my values with ? and then execute the code to
avoide complications with special characters. Does anyone have an
example of this.
I am doing something like this now
Dim myConnection As New OleDbConnection(myConnectionString)
Dim myOleDbCommand As New OleDbCommand(mySelectQuery, myConnection)
myOleDbCommand.Connection.Open()



Dim myDataReader As OleDbDataReader =
myOleDbCommand.ExecuteReader(CommandBehavior.CloseConnection)

myDataReader.Close()
myConnection.Close()
thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,223
Latest member
Jurgen2087

Latest Threads

Top