-
January 7th, 2008, 08:38 AM
#1
The IItemEventListener.Update method specifications require that only String objects or byte arrays can be used as field values. You have to perform the conversions from numbers to strings in Data Adapter code, before populating the IDictionary object.
(We might think about improving the error message.)
Dario
-
January 7th, 2008, 09:34 AM
#2
Thanks Dario. I convert from numbers to strings, it's ok.
public IDictionary GetCurrentValues(bool fullData) {
lock (this) {
IDictionary eventData = new Hashtable();
...
eventData["ceiling"] = _ceiling.ToString();
eventData["floor"] = _floor.ToString();
}
}
-
January 9th, 2008, 09:51 AM
#3
The remaining part of the thread has been moved as
/vb/showthread.php?t=238
Similar Threads
-
By hungtt in forum Adapter SDKs
Replies: 2
Last Post: December 24th, 2010, 07:51 AM
-
By tuongkha in forum Client SDKs
Replies: 6
Last Post: January 10th, 2008, 09:26 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 04:14 AM.
Bookmarks