Could not find a non-generic method “delete” that has paramater ArticleID

I don't understand why this gridview gives this error message.  I have checked the box on the smart switch in the design view to allow deleting of rows.  So when I try to click the delete link when I debug it gives this message.  I have checked the stored procedure and it is just

DELETE tblArticle

WHERE ArticleID = @ArticleID

 I"m not sure how this gets called though. It needs to pass the articleID somehow.


Read More

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s