473,396 Members | 1,815 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,396 software developers and data experts.

Combobox Bindings Disappear!

Currently, I am binding a combobox in a windows app using adatatable. That works perfectly fine...

When user selects an item in the combobox, I will open a new formto display some information.. But once the new form is opened,the bindings in my combobox disappears, except for theselecteditem! Which means if I have 100 items before, once newform is shown, there is only one item left!

Can anyone help...?

--------------------------------
From: Ros

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>GFvZgPOA8E2gGKh3x8o3cQ==</Id>
Nov 22 '05 #1
1 1435
Cyn
If you are posting back, you will need to rebind the data.
-----Original Message-----
Currently, I am binding a combobox in a windows app using a datatable. That works perfectly fine...
When user selects an item in the combobox, I will open a new form to display some information.. But once the new
form is opened, the bindings in my combobox disappears,
except for the selecteditem! Which means if I have 100
items before, once new form is shown, there is only one
item left!
Can anyone help...?

--------------------------------
From: Ros

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>GFvZgPOA8E2gGKh3x8o3cQ==</Id>
.

Nov 22 '05 #2

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

Similar topics

1
by: Ros via .NET 247 | last post by:
Currently, I am binding a combobox in a windows app using adatatable. That works perfectly fine... When user selects an item in the combobox, I will open a new formto display some information.....
3
by: Lubomir | last post by:
Hi, I have a combobox and datagrid in a form. When an Item is selected from a combobox, a method is called, which will make selection from a database according selected item and populate...
5
by: Niels | last post by:
Hello, I'm trying to get te index of a specific text in a ComboBox. The ComboBox is filled by searching for filenames in a directory. The text of the last item selected in the ComboBox is saved...
4
by: Keith | last post by:
Hello - this started out as a minor annoyance - and now is starting to bother me more and more - I'm hoping someone can help me. I would like to have a combobox display - NOT initially be blank...
2
by: excelleinc.com | last post by:
Hi all, This is very frustrated, writing a code and every few days wasting couple of hours on obvious bugs in framework. I'm trying to bind combobox to a msde sql table and works fine. Then...
30
by: dbuchanan | last post by:
ComboBox databindng Problem == How the ComboBox is setup and used: My comboBox is populated by a lookup table. The ValueMember is the lookup table's Id and the DisplayMember is the text from a...
2
by: Nate | last post by:
I have used the feedback on this issue to remedy my comboboxes showing the first item on the list when a new record is added to the binding context --- Me.BindingContext(dsOrders,...
6
by: dbuchanan | last post by:
VS2005 I've been reading all the help I can on the topic (MSDN, other) but I can't make sense of this. Desired behavior; The user is to choose from the displayed list of the databound combobox...
4
by: dm1608 | last post by:
I'm used to setting the Text property and Value property of a ComboBox. I do not see this option for C# 2.0. Am I missing something? Basically, I'm trying to loop thru an ADO.NET reader object...
0
by: lsharva | last post by:
Actually, i m working on Windows Application where i have to use the ComboBox and listview in a way , as first we will click the comboBox and then as you click , ListView appear and when we...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.