Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM: ASP.NET dataset manipulation

date posted 6th August 2007 14:32

If you are running through code it may be you want to be using
SecurityElement.escape

That may be more useful than one-off replaces as it is then a general
solution.

http://msdn2.microsoft.com/en-us/library/system.security.securityelement.escape(VS.80).aspx

-ben

Craig wrote:
> Thanks for the replies guys,
>
> Yes, I agree, a DataReader would be better, I don't use Datagrids myself if
> I can help it.
>
> I've decided to write some functions to do "one-off" global replaces in the
> database for non-compliant tags, etc. Don't know why I didn't think of it
> before.
>
> Thanks again.
>
> Craig
>
> -----Original Message-----
>
> Craig wrote:
>
>> MySQL 5.0
>>
>>
> In that case you can't use the SQL Server built in XML stuff I guess...
>
> I would probably swap that first dataset for a DataReader that just
> retrieves the data cleans it up and then loads it into the output
> dataset- for most stuff I avoid DataSets as they offer a lot of extra
> overhead but they're pretty handy for XML.
>
> -ben
>
>
>
>



Messages by Day
August 31st 2007
August 30th 2007
August 29th 2007
August 28th 2007
August 27th 2007
August 26th 2007
August 25th 2007
August 24th 2007
August 23rd 2007
August 22nd 2007
August 21st 2007
August 20th 2007
August 19th 2007
August 18th 2007
August 17th 2007
August 16th 2007
August 15th 2007
August 14th 2007
August 13th 2007
August 12th 2007
August 11th 2007
August 10th 2007
August 9th 2007
August 8th 2007
August 7th 2007
August 6th 2007
August 5th 2007
August 4th 2007
August 3rd 2007
August 2nd 2007
August 1st 2007


Messages by Month
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000