Advertisement

05.13.2008 at 03:59PM PDT, ID: 23399738
[x]
Attachment Details

inserting a string with any character in it

Asked by k3n51mm in .NET, MS SQL Server, SQL Server 2005

Tags: VB.Net 2005 & SQL CE

We have an application that uses SQL CE 3.1 as its embedded database.

Frequently in the application, we must store strings with apostrophes, quotes, and all kinds of other stuff. It's totally unwieldy to try and manually escape every nonstandard character in every string... this is why we need to know how to handle this issue for all possible input.

What is the best method we can use to store any string, no matter what characters occur in it? The reason we must now improve our string handling is that we are now being required to store MD5 hashes of files for security and duplicate file avoidance, and these hashes usually break our import functions.

THANKSStart Free Trial
[+][-]05.13.2008 at 05:08PM PDT, ID: 21560296

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 06:39PM PDT, ID: 21560609

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 08:07PM PDT, ID: 21560957

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET, MS SQL Server, SQL Server 2005
Tags: VB.Net 2005 & SQL CE
Sign Up Now!
Solution Provided By: gnoon
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.15.2008 at 01:44PM PDT, ID: 21577826

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628