| Thread | Last Post | Replies |
|
| How to clear old data from DataGridView and DataSet? | 31 Dec 2006 20:15 GMT | 3 |
As an exercise in learning Visual Basic 2005, I am putting together a simple XML editor. I place on the form the objects DataGridView1 and DataSet1. ' Read an XML file into DataSet1:
|
| Combobox SelectedIndexChanged with NULL firing twice | 30 Dec 2006 09:33 GMT | 2 |
I have a combobox with databinding to an attribute which can have NULL values. I noticed the strange behavior that when I select the row with such a null value in a datagrid, my combobox first switches to SelectedIndex = -1 (SelectedValue = NULL), but then it goes back to the first ...
|
| Databinding a ComboBox to an Arraylist | 29 Dec 2006 20:05 GMT | 6 |
Hi, Im kinda new to databinding and i've stumbled into a problem with which i could use some advice. I have a ComboBox which i would like to databind to an arraylist. Currently i've set up databinding for all the other controls on the
|
| "Object does not match target type" Weird bug | 21 Dec 2006 13:30 GMT | 9 |
I'm back again with a very strange bug, hope it will get more answers than my previous bug reports I have a very simple class structure : - An abstract mother class (OMBindingItem just inherits from IEditable)
|
| Simple case of databinding a comboboxcolumn to an enum (fails) | 21 Dec 2006 06:15 GMT | 3 |
This fails with the dreaded "DataGridViewComboboxCell value is not valid" Why?? namespace wintest {
|
| BindingSource Position override | 19 Dec 2006 23:07 GMT | 7 |
We're using BindingSource and BindingNavigator controls to build some Windows Forms classes to update our Data Tables. We typically present a single Data Row on the screen at a time. I would like to be able to catch a user attempt to move to a new row. That would
|
| DataMember property "DataRelationName" cannot be found on the DataSource | 18 Dec 2006 09:40 GMT | 4 |
I've created typed DataSet and as part of the constructor I've added a DataRelation. It compiles and I can see the relationship between the tables in the Data Sources window. After adding the parent table as a DataGridView to the form, I attempt to
|
| Adding data via the BindingSource | 14 Dec 2006 14:46 GMT | 4 |
I've been tinkering with Win forms databinding, which, provided you have some data in your datasource seems to work really well. However, I've been trying to create a form which creates a new record in an empty strongly typed DataSet DataTable where the DataTable is the
|
| VS 2005 formatting and parsing bindings | 14 Dec 2006 13:10 GMT | 1 |
In order to get a decimal separator with both keys "." and "," I place this code in my form load event and I get the "," replaced with ".". This used to work fine in VS2003 binding directly to an object but in VS2005 I get the focus "stucked" at the combobox cause every time I ...
|
| PositionChanged event not fired for CurrencyManager | 13 Dec 2006 17:38 GMT | 6 |
The illustration below assumes a ComboBox named comboBoxTest and a VS.NET-generated typed DataSet named TestDataSet with a DataTable named TestDataTable with two DataColumns, ItemIdColumn and ItemNameColumn. If I first bind an empty TestDataTable to comboBoxTest and then hook ...
|
| Binding.Format event not triggering | 13 Dec 2006 17:27 GMT | 2 |
.Net v1.1 I am basically doing the following to display a db decimal value formatted as $: textBox.DataBindings.Clear(); textBox.DataBindings.Add(
|
| Editing items in a BindingList | 13 Dec 2006 00:33 GMT | 2 |
I have created a binding list and added some objects to this. I've then bound various properties of the GUI controls on a form to properties of the object in the binding list. This works fine and the GUI displays the properties of the objects in the BindingList.
|
| Trouble binding controls to datasource | 11 Dec 2006 07:23 GMT | 5 |
What would cause the IDE to blow up whenever I try to bind a combobox to a BindingSource? The first time it happened, I thought it was a one-shot deal; but it happened the next two times I loaded the project and attempted to bind the combobox to the BindingSource. This is ...
|
| ComboBox binding | 10 Dec 2006 19:55 GMT | 1 |
VS 2005 VB.Net Framework 2 I have a combox on a form if the user uses the mouse to select the data the data is updated correctly. If on the other hand if they tab on to the control and use the arrow keys no
|
| One-way databinding | 10 Dec 2006 19:01 GMT | 1 |
I want to set one-way databinding from controls to dataset. How? For example: I manually set Items for comboBox and I want selectedText passed to dataset when I accept changes. I don't want comboBox bound to any source
|