Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
no mapping exists from object type system.windows.forms.textbox to a known mannaged provider native type i got this error when i click on update button.plzzz give solution as soon as possible
Posted
Comments
Sujith Karivelil 20-Feb-15 5:12am    
could you please include the snippet that shows the error? it will helps to get better response

1 solution

Simple: don't try to pass your Textbox to the database: pass the TextBox.Text property instead.

Chances are that your code contains some parametrized update, and you are passing the TextBox - just add ".Text" to the end of the TextBox name and the problem will go way.
 
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