473,408 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Datagrid with comboboxes

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
Mar 5 '06 #1
2 1177
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?...6-7320e41e6d05

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

"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

Mar 5 '06 #2
Here is the errormessage appearing as a warning

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

at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.Error(IDesignerSerializationManager
manager, String exceptionText, String helpLink)
at
System.ComponentModel.Design.Serialization.CodeDom SerializerBase.DeserializeExpression(IDesignerSeri alizationManager
manager, String name, CodeExpression expression)
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)

reidarT

"Reidar" <re****@eivon.no> skrev i melding
news:u1**************@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

Mar 5 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Frosty | last post by:
Hi I am using the VS xsd designer to create a strongly typed dataset. The dataset is apparently successfully created, with no warnings or errors given. Is it not then to be expected that this...
4
by: RFickling | last post by:
Hi, I have implemented a DataGrid with ComboBoxes in it using the DataGridComboBoxColumn class from the MSDN article. My problem is that I would like to make the combobox disappear when an item...
3
by: pnp | last post by:
Hi all, I would like to create a component that simulates the functionality of an MS Access table, through a Datagrid combined with comboboxes, datetime selectors and checkboxes. So when a table...
4
by: Pacific Design Studios | last post by:
I have a DataGrid on Form1 that displays a small amount of information about employees. On Form2 I want to have all the data displaying in text boxes about the employee selected in the datagrid on...
1
by: Marius Trælnes | last post by:
Hello! I have a datagrid and in that I have two comboboxes, 1 is category and 2 is subcategory. I only want to show the sub categories for the selected category. (As in: when category A selected...
2
by: jaYPee | last post by:
i have search a lot of newsgroup and some website to find a sample for multi column combobox in datagrid but no luck. there are so many sample i found but it is not located in datagrid. i would...
1
by: zoneal | last post by:
Hi I have a form with a listbox, two comboboxes and two Radiobuttons. What I want to do is make a selection from both comboboxes and either Radiobutton and display these three elements across the...
12
by: Sam | last post by:
Hi, Do you know where I can find a simple example of what I'm trying to achieve : I have a dataset filled with two columns from a table of my database. Then the dataset is used to fill a...
1
by: R.Rafii | last post by:
Hi all, I am using Visual Studio 2005 and Visual basic. I've created a form with two ComboBoxes and a DataGrid I binned the ComboBoxes to a table on my remote SQL2005 server What I want to do...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.