Hi
I am working in c# window application.
I am inserting the data in SQL Server DB through webservice.
When the no of rows increases I am getting an error message as
"The operation has timed out."

But after showing that error the data is inserting perfectly in DB.

Please let me know how to fix this issue.

set the command object's commandtimeout property to 0.
hope it will work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.