Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ReadKeysFromConfig() doesn't handle float
Message
 
To
23/11/2007 13:04:30
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01270917
Message ID:
01271798
Views:
22
Jeff,

>I was using RaedKeysFromConfig() to load a configuration file. One of the fields is a float type. It was saving ok, but it wouldn't load the value in. When I traced through, I found that in ReadKeysFromConfig() it uses typeWebConfig.GetMembers() to populate the MemberInfo. It returns 'single' for the type name, which is fine, except the routine is looking for 'float'. Thus, no update.
>
>I changed the type to 'double' and it works fine.

I'll check this out and get back to you!

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform