Answered by:
Datacolumn name illegal character

Question
-
Hey Guys,
can u tell me the illegal or bad characters for a DataTable and his DataColumn or better his DataColumn Names?
If I create and fill a DataTable and will present this in WPF and have DataColumns with characters like [ , ] or / as DataColumnsNames or they contais this character in the name, I get a DataTable with blank Rows in the Column where I have the Columnname with this illegal characters.
Thanks in advance.
Tuesday, September 13, 2011 1:31 PM
Answers
-
Hi BoZAFabe,
About this topic, there is a detailed discussion, and many people has provide the bad characters there:
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/111998d6-eb3e-420b-a357-1a0918ea9c0f
Best regards,
Sheldon _Xiao[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Marked as answer by Sheldon _Xiao Wednesday, September 21, 2011 8:08 AM
Thursday, September 15, 2011 8:54 AM -
Ok, i wrote a list file and test the DataTable on typical special charaters...
My Result is:
( = open bracket
) = closed bracket
[ = open square bracket
] = closed square bracket
. = dot
/ = Slash
\ = Backslash
crash the cell's of a DataTable if this characters are in the DateColumnName...
- Marked as answer by fabschen Monday, July 9, 2012 8:56 AM
Thursday, September 29, 2011 7:42 AM
All replies
-
Hi BoZAFabe,
About this topic, there is a detailed discussion, and many people has provide the bad characters there:
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/111998d6-eb3e-420b-a357-1a0918ea9c0f
Best regards,
Sheldon _Xiao[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Marked as answer by Sheldon _Xiao Wednesday, September 21, 2011 8:08 AM
Thursday, September 15, 2011 8:54 AM -
Ok, i wrote a list file and test the DataTable on typical special charaters...
My Result is:
( = open bracket
) = closed bracket
[ = open square bracket
] = closed square bracket
. = dot
/ = Slash
\ = Backslash
crash the cell's of a DataTable if this characters are in the DateColumnName...
- Marked as answer by fabschen Monday, July 9, 2012 8:56 AM
Thursday, September 29, 2011 7:42 AM -
Hi BoZAFabe,
Thank you for sharing this test result.
Best regards,
Sheldon _Xiao[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Thursday, September 29, 2011 7:46 AM