Jump to content
Software FX Community

"Input string was not in a correct format" problem


rkw6086
 Share

Recommended Posts

Good morning!

I'm working on a project that requires me to create a ChartFX web part for SharePoint. The goal is that we needed to have the chart be entirely configurable through XML. Well, I got that down and now I'm getting this weird error that I wasn't getting before when we were hard coding in our data providers.

Input string was not in a correct format

No, let me tell you what's happening. The WebPart loads in the data, then I'm using the CrosstabDataProvider to create the multiple series. The table is structured like so. *For security reasons, actual data is not available*

DateTime

Key

Value

12/1/2008 12:00:00 AM

Series 1

2

12/1/2008 12:00:00 AM

Series 2

4

12/2/2008 12:00:00 AM

Series 1

12

12/2/2008 12:00:00 AM

Series 2

6

Now, the only thing I'm doing different is that I'm using a generic data provider that uses XML to get the data, and parse it into this format. I'm doing nothing else different but that. The field mappings have remained the same, the data coming is is exactly the same as the data that was coming in when I had the hard coded data provider.

Does anyone have any as to why I would be getting this error?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...