Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Abhi
(63)
Appukuttan
(40)
divya
(36)
Last 7 Days
Appukuttan
(660)
Babu Akkandi
(465)
Tejinder Singh ...
(273)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
While using insert statement, an error is thrown if you add strings having ' sign.
Posted Date: 11 Mar 2004
Resource Type:
Articles
Category:
Web Applications
Author:
ManojRajan
Member Level:
Gold
Rating:
Points
: 7
This is due to the basic fact of the insert statement that it uses "'" sign to insert string values. If you are using this a text part the Insert statement again takes it as string and hence you receive an error. So the solution relies upon converting a single string code into two.
One such thing can be obtained using replace function where you can convert a single code into two.
replace(str,"'","''") is such example.
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
(No tags found.)
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Display two fields in one datagrid column
Previous Resource:
How to set and read cookies using .net technology?
Return to Discussion Resource Index
Post New Resource
Category:
Web Applications
Post resources and
earn money
!
Related Resources
Display two fields in one datagrid column
ASP.NET FILES IN THE WEB-APPLICATION
Error: "This document already has a DocumentElement node." while trying to read XML Data retrieved.
Adding common functionality with user controls
How to avoid posting the page when Submit button is clicked?
dotNet Slackers
BizTalk Adaptors
Web Design
Contact Us
Privacy Policy
Terms Of Use