Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting in Gridview
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01245109
Message ID:
01246929
Views:
20
Hi Kevin,

Finally managed to find out the cause. The table PK is a natural key. The parameter passed to the SP need to specify the size. Example:

PROCEDURE [dbo].[cABCDelete]
(
@cpk Char(5)
)
AS
SET NOCOUNT OFF;
DELETE FROM [dbo].[cABC]
WHERE
([cpk] = @cpk)


Thanks for the help.

Regards.
Previous
Reply
Map
View

Click here to load this message in the networking platform