|
by: Pete Davis |
last post by:
I have a collection derived from CollectionBase. I am setting the DataSource
of my ListBox to the collection. That all works. I have two problems:
The code just after the call to InitializeComponent() looks like this:
shareListBox.DisplayMember = "Filename";
shareListBox.DataSource = shares;
shareListBox.ClearSelected();
'shares' is my collection.
|
by: Alpha |
last post by:
Hi, I have a listbox and a textbox which is bind to the same dataset's
column. So the selected item is display in the textbox availbe for editing.
When I change the text in the textbox it has several problems:
1. It doesn't save the changes in the textbox to the database when I
immediately click the OK button. It does save the changes if I click on a
different item in the list box first.
2. The listbox doesn't reflect the new changes in...
|
by: Lasse Edsvik |
last post by:
Hello
I've created a class that has a method that returns a dataset like this:
public DataSet GetAllCustomers()
{
Open();
|
by: Joseph Ashizawa |
last post by:
I'm trying to refresh a checked list box after adding an
item to an ArrayList bound to it. I'm using Visual C++
Express Beta.
I've browsed the web for solutions for this problem that
worked before such as:
----------
System::Windows::Forms::CheckedListBox^ checkedListBox1;
System::Collections::ArrayList^ ArrayList1;
|
by: Young J. Putt |
last post by:
I've got a list box bound to a Datatable, like this:
lstProjects.DataSource = m_oProjectSet.DataTable
lstProjects.DisplayMember = "ProjectDesc"
lstProjects.ValueMember = "ProjectID"
I want to pass the ProjectID value (integer) of the selected item in
lstProjects to another function.
I assumed I could reference the integer value of the ProjectID column as
|
|
by: BrianDH |
last post by:
Is there a way to load into a listbox..
one click at a time...
one row at a time...
both a value & display text without using a bound Dataset?
ValueID = 123
DisText = "Bob"
Private Sub btnSplitAdd_Click(ByVal sender As System.Object, ByVal e As _ System.EventArgs) Handles btnSplitAdd.Click
lbSplitBrkFee.BeginUpdate()
lbSplitBrkFee.Items.Add(ValueID, DisText)
|
by: Dave |
last post by:
Hi all,
I have a listbox that is complex bound by an arraylist. The problem is that
when I delete an object from the arraylist, the listbox does not reflect
those changes. I tried refreshing the listbox with no luck and, because it
is already bound, I can't just delete the item directly from the listbox
without an error (because it already has a datasource, you are not allowed
to delete/add anything to the listbox directly).
The...
|
by: anniebai |
last post by:
I don't know if I can explain my question clearly.
There're three tables as Scholars, Grants, ScholarWIthGrants, the relationship between scholar and grants is 'many-to-many', and ScholarWithGrants is the joint table.
A scholar form is created, as main form. a listbox as 'grantList' is embedded into this main form. The data source for grantlist is bound to the scholarID on the main form.
SELECT sg.ScholarID, sg.GrantID, sg.Title,...
|
by: sartemieff |
last post by:
I am using MS Access 2007 on an XP platform. I have forms (split and single) with listboxes. If a listbox is bound to a field that can contain a null, I would like the listbox to include a blank entry at the top of the list so it is readily apparent when the bound field contains a null and so that the user can deselect a value and revert to a null value. I would also like the listbox to display the entry that corresponds to the value of the...
|
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,...
|
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...
|
|
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,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|