Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
which contains primary key and and int type
and enable the delete operation on the gridview when i am clicking the delete link it is getting an error like must declare a scalar variable


iam using gridview and sqldatasource
binding gridview with sqldatasource
sqldatasource configured wit onetable having primary key col
iam enabling delete opeartion from the smart tag of the gridview.
Posted
Updated 5-Jun-12 21:15pm
v2
Comments
Rajesh Anuhya 6-Jun-12 1:42am    
Your Question not clear, edit your Question, try to elaborate your question more.
--RA
Prasad_Kulkarni 6-Jun-12 1:45am    
Agree with Rajesh, it will be far better if you provide some code snippets.

Have a look at this blog post: Must declare the scalar variable …[^]
 
Share this answer
 
The parameter is misspelled, Try to check with your code..correct the error,if any further clarification Post your code.. check your Sql/oracle query parameter..
 
Share this answer
 
You just check this out..

Must declare the scalar variable …
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900