Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting and Deleting with SP
Message
From
14/10/2005 19:07:02
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Inserting and Deleting with SP
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01059356
Message ID:
01059356
Views:
46
Hi guys.

I have a problem with this scenario. I have a BO that generates the record of his childs in automatic way. I'm doing this with a method that calls an SP in this way:

public void GenerateChildRecords( int parentID )
{
this.ExecSproc( "pr_GenerateChildRecords", this.CreateParameter("@id_Parent", parentID)

return;
}

But the BO is throwing a OUT OF TIME CONNECTION error. If I remove all the logic in the SP that affects data (all the delete an inserts transact-sql commands) it does not trhow any error.

What am I doing wrong? Do I need to generate a separate Data Access Class in order to acomplish that? Can I do this with a simple ExecSproc?


Thanks in advance

David
Next
Reply
Map
View

Click here to load this message in the networking platform