Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7904303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:59:42+00:00 2026-06-03T09:59:42+00:00

I have a SQL CE database, which is beyond my control, that has fields

  • 0

I have a SQL CE database, which is beyond my control, that has fields in the format of ., complete with a period in the column name. The columns will always be different, so I cannot have a strong-typed data field. I’ve been tasked with displaying dynamic table data into a DataGrid.

Normally, this would be easy — auto-generate the columns and everything is cool. Easy example.

However, I’m not allowed to do this, since the ‘.’ character in the column names nukes the binding.

Right now, I’m trying to add a layer of translation to the dataset (probably will have to maintain a dictionary with translations of . to _).

My question is — is there a better way? I recall something a while back about being able to have a SourceColumnName in a DataTable, but I didn’t see it. There’s a “Caption,” but I cannot bind to that…

Any thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T09:59:45+00:00Added an answer on June 3, 2026 at 9:59 am

    For alternative replace . dot with \u2024

    If you put this question to Microsoft people, they will tell you that this (your problem) is because WPF DataGrid supports “sub properties data mapping” when there is a data source. For this reason, . dot tries to resolve to sub object contained in your DataTable.

    In the next line they will politely ask you to replace your . dot to _ Underscore in column name.

    (http://social.msdn.microsoft.com/Forums/en/wpf/thread/7d84c8f2-2709-4642-a259-739036ffd2a6)

    But that’s neither a solution nor an alternative.

    Solution will only be provided by them by changing their coding.

    For alternative replace . with \u2024 This is the unicode character for C/C++/Java

    More on this here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a database (SQL server express 2008) which has a column that is
I have a SQL database table column which has data in this format 0000-00-0000
I have a Sql Database (which I have no control over the schema) that
I have got SQL Server database in which Table column name have spaces. For
I have a SQL Server database which has grown to more than 15GB in
I have a SQL database in which I have a column with DataType DateTime.
I have an INT column in a SQL Server database which stores a value
Suppose I have a SQL database in which a column could look something like
I have a gridview which contains checkboxes and fields in sql server database which
I have a SQL Server 2005 database which has about 30-40 connections to the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.