Groups | Blog | Home
all groups > vb.net controls > march 2007 >

vb.net controls : ComboBox related


Redi Linxa
3/21/2007 12:26:02 PM
{"An error occurred creating the form. See Exception.InnerException for details. The error is: The DisplayMember is not a property on the DataSource"}
When i run the program in Visual Basic.Net 2005 and i try to open a form cointatining ComboBox-es filled with datasource created in dataset as table adapters the upper following error occurs.Basicaly it tells me that the DisplayMember and ValueMember of the ComboBox are not recognized as members of the Data Source. If anyone could really please help me of what should itry to do i really would appriciate it. it is blocking my entire work.
With respect, Redi Linxa

From http://www.developmentnow.com/g/39_0_0_0_0_0/dotnet-languages-vb-controls.htm

Posted via DevelopmentNow.com Groups
RobinS
3/21/2007 11:19:20 PM
The error message really says it all. Whatever you are specifying as the
DisplayMember is not a field of the DataSource. Check and make sure the f
ield name in the DataSource (a table in a database perhaps?) matches
whatever you are trying to set DisplayMember to.

Robin S.
-------------------------------
[quoted text, click to view]

AddThis Social Bookmark Button