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.
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.