I think I may have figured out what happened to it...  It was still trying to 
process the rest of the delete function in the gridview which was causing the 
problem. I thought that when you intercepted it using the gridview_rowdeleted 
sub it would stop it from doing the default  delete routine 
Sent from my BlackBerry® smartphone with Nextel Direct Connect

-----Original Message-----
From: crocboy25 <[email protected]>
Date: Wed, 6 Oct 2010 13:11:53 
To: <[email protected]>
Subject: [DotNetDevelopment] Re: Sql Server 2008 Proc Call from .net 3.5
 error after execution

Using this still gave the same error:

            myCommandCk.Parameters.AddWithValue("@MR_LU_TEAMS_NAME",
fkTeamID)
            myCommandCk.Parameters("@MR_LU_TEAMS_NAME").Size = 30


It seems to get past the execute reader and goes through the ".READ"
section also but when the sub ends, this error gets thrown.  The sub
is the GridView1_RowDeleting sub routine.

I am at a loss.....

On Oct 6, 4:02 am, Jamie Fraser <[email protected]> wrote:
> Try replacing myCommandCk.Parameters.Add with
> myCommandCk.Parameters.AddWithValue
>
>
>
> On Tue, Oct 5, 2010 at 8:19 PM, crocboy25 <[email protected]> wrote:
> > Data.SqlClient.SqlParameter- Hide quoted text -
>
> - Show quoted text -

Reply via email to