I have this string that I want to insert into a table:
string command = @" insert into " + txnDC.Connection.Database + "..[AZGetPackages] ( [PackageID] , [PackageName] , [VendorID] , [VendorDisplayName] , [IsCustom] , [EPCustomerID] )" +
@"values( N'1', N'Package 1', N'11', N'Vendor 1', N'0', N''),
( N'2', N'Package 2', N'12', N'Vendor 2', N'0', N''),
( N'3', N'Package 3', N'13', N'Vendor 3', N'0', N''),
( N'4', N'雑誌コード', N'14', N'税込', N'0', N'')";
When I put a breakpoint right after the that line and I view the string in debug it shows up like this:
txnDC.ExecuteCommand(command, new object[0]); << breakpoint here to view command var
and shows || for the chinese chars.
The pipes are actually those little rectangles.
So when it does the insert to the table it inserts the rectangle characters and not the actual ones I have set.
Anyone have any advice here?
Thanks!