I can't insert variable (Textbox) Oradirect Mobile
Posted: Fri 10 Oct 2008 20:25
i can't create oraclecommand for insert variable textbox (texto1.text)
when execute this program the value inserted is null
Me.OracleCommand.CommandText = "insert into exlocfis values(':my_par','415 ','S')"
OracleParameter1.ArrayLength = 0
OracleParameter1.ObjectTypeName = Nothing
OracleParameter1.OracleDbType= CoreLab.Oracle.OracleDbType.VarChar
OracleParameter1.ParameterName = "my_par"
OracleParameter1.Precision = CType(0, Byte)
OracleParameter1.Scale = CType(0, Byte)
OracleParameter1.Size = 0
OracleParameter1.Value = texto1.Text
when execute this program the value inserted is null
Me.OracleCommand.CommandText = "insert into exlocfis values(':my_par','415 ','S')"
OracleParameter1.ArrayLength = 0
OracleParameter1.ObjectTypeName = Nothing
OracleParameter1.OracleDbType= CoreLab.Oracle.OracleDbType.VarChar
OracleParameter1.ParameterName = "my_par"
OracleParameter1.Precision = CType(0, Byte)
OracleParameter1.Scale = CType(0, Byte)
OracleParameter1.Size = 0
OracleParameter1.Value = texto1.Text