I have C# windows application.When 'Button 1' click in 'Form 1' I have a process that written data to few tables. That process normally taking 10 minutes. When one user click that 'Button 1' , another user who using same DB and program clicking another button in another form which inserting data to same tables.
When Button 1 clicking I'm starting the SQL Transaction and commiting that after finish the process.
Problem is when running that process, 2nd user getting a time out error and he can't complete his process.
What can I do for this? When SQL transaction starting is thet locking the tables which using for the process?