HighTechTalks DotNet Forums  

System.ComponentModel.LookupBindingProperties Example

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss System.ComponentModel.LookupBindingProperties Example in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
dodoMoz
 
Posts: n/a

Default System.ComponentModel.LookupBindingProperties Example - 01-13-2006 , 04:56 AM






I've tried invain to build the databinding example described in "Walkthrough:
Creating a User Control that Supports Lookup Databinding"
(http://msdn2.microsoft.com/en-us/library/ms233787.aspx).

I followed all passages of the article, but when I Drag the Orders node from
the Data Sources window onto the Windows Form and build the code the
following error appears in an error window that appears in place of the Form
Design:
"One or more errors encountered while loading the designer. The errors are
listed below. Some errors can be fixed by rebuilding your project, while
others may require code changes. "

Cannot set the SelectedValue in a ListControl with an empty ValueMember.

at System.ComponentModel.ReflectPropertyDescriptor.Se tValue(Object
component, Object value)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeAssignStatement(IDesigne rSerializationManager
manager, CodeAssignStatement statement)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeStatement(IDesignerSeria lizationManager manager, CodeStatement statement)


Have you any suggestions?

Best Regards
--
Domenico Mozzone

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.