logo       

SqlCommand Timeout: msg#01183

windows.devel.dotnet.general

Subject: SqlCommand Timeout

Hi All

I am writing a small C# program which uses a SqlCommand object to insert a
row into the Table in the database.

The row I am tryin to insert is big one. So I want to set a timeout so that
if the row is not inserted in a given secs. I would not execute it and
rollback the insertion.

Is there any way I can implement this.

Appreciate any help.

Thanks
Nischal

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise