Home All Groups Group Topic Archive Search About

Datagrid with comboboxes

Author
5 Mar 2006 12:16 PM
Reidar
I am making a datagrid with one table.
In this datagrid I change som columns from textboxes to comboboxes.
The comboboxes has datasource from another table, displaymember is the
textfield from table2
and memberValue is the ID.
This works OK first time I run the application, but when I enter the form in
design I get the message
The variable 'TblGjoreMalBindingSource' is either undeclared or was never
assigned.
I can't see what I am doing wong.
reidarT

Author
5 Mar 2006 1:57 PM
Ken Tucker [MVP]
Hi,

      It is very hard to tell you what is wrong with your code if you do not
post it. We have some samples on the vb-tips web site that might help you.

http://www.vb-tips.com/default.aspx?ID=e51432cb-e517-4bae-bc26-7320e41e6d05

Ken
---------------------------

Show quoteHide quote
"Reidar" wrote:

> I am making a datagrid with one table.
> In this datagrid I change som columns from textboxes to comboboxes.
> The comboboxes has datasource from another table, displaymember is the
> textfield from table2
> and memberValue is the ID.
> This works OK first time I run the application, but when I enter the form in
> design I get the message
> The variable 'TblGjoreMalBindingSource' is either undeclared or was never
> assigned.
> I can't see what I am doing wong.
> reidarT
>
>
>
Author
5 Mar 2006 11:05 PM
Reidar
Here is the errormessage appearing as a warning

The variable 'TblGjoreMalBindingSource' is either undeclared or was never
assigned.
Hide

at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager
manager, String name, CodeExpression expression)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager
manager, CodeAssignStatement statement)
at
System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager
manager, CodeStatement statement)

reidarT

Show quoteHide quote
"Reidar" <rei***@eivon.no> skrev i melding
news:u19lw6EQGHA.5296@TK2MSFTNGP09.phx.gbl...
>I am making a datagrid with one table.
> In this datagrid I change som columns from textboxes to comboboxes.
> The comboboxes has datasource from another table, displaymember is the
> textfield from table2
> and memberValue is the ID.
> This works OK first time I run the application, but when I enter the form
> in design I get the message
> The variable 'TblGjoreMalBindingSource' is either undeclared or was never
> assigned.
> I can't see what I am doing wong.
> reidarT
>
>