rwheeler23
asked on
How to embed quotation marks in output file C
I am using this to write data to a comma delimited text file.
tw.WriteLine("{0,1},{1,1}, {2,1},{3,1 },{4,1},{5 ,1},{6,1}, {7,1},{8,1 },{9,1},{1 0,1}", dr["Arrest_ID"],dr["Incide nt"],dr["A rrest_Date "],dr["Arr est_Time"] ,dr["Age"] ,dr["Sex"] ,dr["Race" ],dr["Ethn ic"],dr["C rime_Locat ion"],dr[" ESRI_LOCAT ION"],dr[" Law"]);
Now they are requesting that I enclose the text fields in quotation marks. Is it as simple as "{0,1}"?
tw.WriteLine("{0,1},{1,1},
Now they are requesting that I enclose the text fields in quotation marks. Is it as simple as "{0,1}"?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thnaks
ASKER