Link to home
Start Free TrialLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

C# replace string in void with dR["myData"].ToString()

I have  void(string code, string desc, string pDate)

I want to place that directly in my string below without "replace" statements.

 string json = "{\"code\":\"[CODE]\",\"description\":\"[DESC]\",\"date\":\"[pDate]\"}";
Avatar of leakim971
leakim971
Flag of Guadeloupe image

without "replace" statements

could you explain why? it's a challenge?
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Larry Brister

ASKER

That's why you get the big money. LOL.
Thanks