OracleCommand.CommandTimeout (for Mobile)

OracleCommand.CommandTimeout (for Mobile)

Postby eugen.diz@mail.ru » Fri 13 Oct 2006 08:17

Hi,
i have a question about my OreDirect.NET Mobile 3.50. How can i set the OracleCommand.CommandTimeout?
This Example does not work. What is wrong?
----------------------------------------------------
long startTickValue = Environment.TickCount;
cmd.CommandText = "declare "+
" a number; "+
"begin "+
" a:= 0; "+
" while (a < 10000000) "+
" loop "+
" a:= a+1; "+
" end loop; "+
"end; ";
cmd.CommandTimeout = 10; //Timeout after 10 secound
cmd.ExecuteNonQuery();
MessageBox.Show( (((Environment.TickCount-startTickValue)/1000.0F)).ToString() );
--------------------------------------------------------
Thanks a lot!
eugen.diz@mail.ru
 
Posts: 6
Joined: Thu 31 Aug 2006 16:36

Postby Alexey » Fri 13 Oct 2006 12:43

This property is not supported in OraDirect .NET Mobile.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for Oracle