Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i use gride view and using a delete button when i delete the record the error will be occure
System.Data.SqlClient.SqlException: Incorrect syntax near '.'.
Posted
Comments
R. Giskard Reventlov 7-Feb-12 10:44am    
How are we supposed to know when all we have is a dot??? Very amusing.
Martin Arapovic 7-Feb-12 10:52am    
Hi! This si pretty simple! Debug your code or use sql server profiler to see what command you execute against db or update your question with code that is used to build that command!

Your SQL is broken. Not sure what else to tell you without seeing it, but it sounds like you're using automagic stuff and it's failing you. Write proper data layers and your own SQL.
 
Share this answer
 
try to debug it and make your solution hehehehe
 
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