Click here to Skip to main content
15,908,020 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi guys,

i want a solution to this SQLexception,,,and thank you

http://data.imagup.com/10/1125904071.png[^]

http://data.imagup.com/12/1125904045.png[^]
Posted

Change the statement to
SQL
INSERT INTO Login([User],Pass) VALUES(@u, @p)
 
Share this answer
 
Comments
Kim Togo 21-Jul-11 5:18am    
Good catch.
guendouz bachir 21-Jul-11 5:45am    
oh thank u it work so good, but it don't insert into Login table?
http://data.imagup.com/10/1125906921.png
Hi,
write the sql part in a good way.
regards,
shefeek
 
Share this answer
 
Comments
Pete O'Hanlon 21-Jul-11 5:25am    
And what benefit was that statement? I'm pretty sure he didn't think to himself, "Hey, why don't I write some bad SQL?" You have added exactly zero to the knowledge of the poster.
shefeekcm 21-Jul-11 5:27am    
sorry sir,i did'nt mention about your code.

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