Replace char in Table

P

PawelR

Hello Group,
I've Table in DataSet - result of sql query.
How repleace all chars (ex ASCII 145) to anoder chars (ex ASCII 64)

Thx PawelR
 
J

Jon Skeet [C# MVP]

PawelR said:
I've Table in DataSet - result of sql query.
How repleace all chars (ex ASCII 145) to anoder chars (ex ASCII 64)

Use String.Replace on each string in the table.
 
U

Uri Dor

I think the best way would be to serialize the DataSet to XML and use
XSLT with the translate() function, then load the DataSet again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top