System.Data.OleDb.OleDbCommand oCmd = new OleDbCommand("PutResult('aaa','bbb')",oConn);>Thanks. Then how does a value get assigned to the parameter?
>oCmd.Parameters[0].Value="aaaa"; >oCmd.Parameters[1].Value="aaaa"; >>I got the message "feature not available".
>oCmd.Parameters.Add(new OleDbParameter("cInputID",OleDbType.Char,60,"cInputID").Value="aaa"); >oCmd.Parameters.Add(new OleDbParameter("cInputResult",OleDbType.Char,4096,"cInputResult").Value="bbb"); >>I got the message "An unhandled exception of type 'System.InvalidCastException' occurred in system.data.dll