Sign in to follow this  
hwangkc

Is real non-numeric data?

Recommended Posts

Fusion Widgets is very cool and I start to study it.

When I ran the real time sample code with VB.NET, but it showed an error "Invalid data: Non-numeric data 22". But for label portion it is OK. Later, I checked code but I could not see where has wrong. I also check some discussion, so I guess there is not space and carriage return in data stream.

  Response.Write("&label=" + dateTimeLabel + "&value=" + randomValue.ToString)

Then I tried to switch label and value opposite as below.

  Response.Write("&value=" + randomValue.ToString + "&label=" + dateTimeLabel)

Then the line started to be plotted, but label showed stranger and no error.

I could not catch all label, but it was showed like

".........../1-tansitional.dtd">

By the way, I am using VS2005 Japaness version, but not experience people for web application development.

Could you help and advise me how to solve this problem?

Thanks in advance.

 

Share this post


Link to post
Share on other sites

I do not know why, but it seems something wrong in the end of data stream.

Then after I added "&" in the end in below.

Response.Write("&label=" + dateTimeLabel + "&value=" + randomValue.ToString + "&")

It seems working fine. It wasn't mentioned in manual. Something wrong in my case?

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

Could you please make sure you do not have a new line character in the string and try again?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this