Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting in Gridview
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01245109
Message ID:
01246929
Vues:
21
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform