473,394 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Problem with Special Charecters in ASP and SQL Server

I am currently using ASP and SQL Server 2000. The problem is when i try to insert data with special characters like - / , into DB through textboxes of ASP webpage, the data does not get inserted. whereas, when I insert the same data directly in DB through SQL queries, it gets successfully appended in the table.
Please advice what is going wrong?
Feb 11 '10 #1
1 1310
jhardman
3,406 Expert 2GB
sorry for the long delay. How are you inserting the data? When I insert data, I like to use a recordset object, add a new record to the recordset, and assign the different fields independently, then update the table from the recordset. This method should have no problems.

Jared
Feb 18 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Desmond | last post by:
Can anyone tell me ho to get certain charecters to be displayed. When sending email with (') i get (\) instead. i.e. This dosen't work becomes dosen\t Is there some kind of escape key to get...
7
by: Mindy Geac | last post by:
Is it possible to delete special caracters from a string and multiple spaces? When the input is : "a&*bbb cc/c d!d" I want the result : "abbb ccc dd" thnx. MJ <?php
15
by: NurAzije | last post by:
I have written a code and can't figure what is wrong, the code will read a content of a file and cut all the emails from it,then echo them, but I have a problem with '"' charecter I think.. Take a...
1
by: Alex Smith | last post by:
Hi friends, I want to read all charecters of pdf file using char array. Thanks, Alex.
1
by: Alex Smith | last post by:
Hi friends, I want to read all charecters of pdf file using char array. Thanks, Alex.
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: 28tommy | last post by:
Hello all, I know how to exclude 1 charecter from a compiled sequence of the re module- '', but if I want to exclude a word or a sequence as one unit (not as separate charecters) to be...
2
by: muniarcot | last post by:
hi, I am facing problem with firefox2.0 browser, Actually my problem is i am validating a textfield using javascript.if the script return false then the cursor not focusing on failed text...
4
Shakss2
by: Shakss2 | last post by:
Hello, I have a text box where I enter a name. I want to restrict the users from using a ' symbol or " symbol or any other special charecter in that text box. How can I achieve it? its...
2
by: nityagopikrishnan | last post by:
how do we write a programme to find the frq of charecters of a string eg you are great output no of y=1 no of o=1 no of u=1 no of a=2 no of r=2 no of e =2 no of g=1
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.