473,811 Members | 3,026 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Update the ComboBox at rutime???

Hi

I have tried to update my combobox with no luck. I add records to the table,
the combobox has as Datasource, but I don't know how to update the combobox.
I have tried updata the oledbadapter and the dataset and set the datasource
to that dataset, but nothing happens. I can see in the database that I've
added a new record to the table, but nothing happens to the combobox when I
update it.
Does anyone know how to solve this.

Appreciate answers
Fia
Aug 19 '06 #1
1 1151
http://support.microsoft.com/?id=313482

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com

"fiaolle" <fi*****@telia. comwrote in message
news:td******** **********@news b.telia.net...
Hi

I have tried to update my combobox with no luck. I add records to the
table,
the combobox has as Datasource, but I don't know how to update the
combobox.
I have tried updata the oledbadapter and the dataset and set the
datasource
to that dataset, but nothing happens. I can see in the database that I've
added a new record to the table, but nothing happens to the combobox when
I
update it.
Does anyone know how to solve this.

Appreciate answers
Fia


Aug 20 '06 #2

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

Similar topics

0
2124
by: Marc | last post by:
Hi all, I have an application that uses a Pmw ComboBox to display a list that is dynamic. The user has the ability to add and delete items from the list at different points in the program. However, once the list is updated it needs to automatically refresh the ComboBox to reflect the updated list. The only way I have been able to solve the problem so far is to redraw the window (by withdrawing the window and calling the function that...
1
1581
by: Lumpierbritches | last post by:
Thank you in advance for any assistance, it is greatly appreciated. I would like to know if there's a way to update a combobox that is on a form when the table that it's linked to is updated, with the form still open? I have multiple comboboxes linked back to other tables and as a user double-clicks on the combobox, a form for updating that table is opened. The problem I have is that the updated listing isn't available in the combobox...
1
2137
by: thomaz | last post by:
When i make an update in my database, the modifications are showing in all TEXTBOX but i can´t see the new values in a combobox text. If i close the form and open it again the new values will appear in the combobox text. How can i see the values in a COMBOBOX text after an update without closing and opening the form ??? Thanks...
4
1741
by: al | last post by:
Greetings, As I understands it, SelectedValud of combobox reads its value from ValueMember property of the combobox. This doesn't work with me. What happens is just randome update. This is the code, 'Here I set connectin and commands Dim cn As SqlConnection = New SqlConnection(str)
4
3363
by: Rob Kroese | last post by:
I've got a form with a datagrid that displays a list of items, along with several textboxes, comboboxes, etc., that display the details for the selected item. The columns in the datagrid and the "details" controls are both bound to fields in a dataview called dvItems. The dataview is a subset of a datatable called dtItems, which is simply a copy of all the data in a table called Items. The idea is to allow the user to edit an item in...
3
2292
by: dbuchanan | last post by:
Hello, (Windows forms - SQL Server) I fill my datagrid with a stored procedure that includes relationships to lookup tables so that users can see the values of the combobox selections rather than the key value that are stored in the table. It works well if the comboboxes are selected when the row is created.
1
1927
by: Sasa | last post by:
Hello, i have a problem with a query that update a table with the combo value and i have n combo. Ok, but when i don't insert any value in one combobox and run the query, all the value are insert in the table also the blank value that i don' t want to be update. The query that i use is: UPDATE SET . = Forms!!Combo_Excel, . = Forms!!Combo_Access, . = Forms!!Combo_PowerPoint, . = Forms!!Combo_Project, . = Forms!!Combo_English, . =...
5
2603
by: njb35 | last post by:
Hi all I'm beginning my foray from VBA into VB 2005 Express, and enjoying some of the efficiencies it provides! I'm stuck with some dataset handling however that I _think_ can be automated but I can probably code what I want to do the hard way. I've searching around online but can't find an answer to this specific question. Here's the situation: I have a dataset table with 3 fields: one indexed as a primary key and the other two...
1
2478
by: Rosie | last post by:
I have a main form with header info w/ 'tHeader' as the control source. I have a subform with 'tDetail' as a control source. They're strung together by a field named MA_ID. This works fine. I have a field within the subform that I want to update via a combobox located on the same subform.
0
9605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10647
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10386
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10398
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6889
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5554
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3017
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.