Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 represents text as a series of unicode characters

Author  Topic 

qman
Constraint Violating Yak Guru

442 Posts

Posted - 2011-09-27 : 09:59:17
I am getting a "represents text as a series of unicode characters" message when I attempt to assign "S:\aa\bb\abc_" as value to my strFilename variable.

Anyone know how to get around this message (I am using 2008, C#)?

Thanks

String strFilename;
strFilename = DateTime.Now.ToShortDateString();

Dts.Variables["file_loc"].Value = "S:\aa\bb\abc_" + strFilename + ".csv";;
   

- Advertisement -