| Thread | Last Post | Replies |
|
| DB is not saved properly although everything seems OK | 30 Jul 2006 19:48 GMT | 1 |
I have a DataGridView bound to a DataTable and I need it to be saved when I use the dataAdapter.Update(...). User can add or remove columns in the data table. That's why I need to generate the INSERT, DELETE and UPDATE commands (almost) every time I want to save the data
|
| DataGridView and Generic Collection Problem | 28 Jul 2006 14:51 GMT | 4 |
I have implemented a generic collection called ItemsCollection(Of t) for my domain which inherits from ReadOnlyCollection(Of t). Wheneve I try to bind this to a DataGridView on my forms, the correct number of rows appear and some of the properties are displayed correctly. ...
|
| A CommandBuilder problem | 28 Jul 2006 11:23 GMT | 1 |
I have a DataGridView bound to an Access database table. Number of columns of this table is variable. DataGridView and it's columns are bound to this database during application startup manually, I did not use the DB design wizard. Values are loaded into a DataTable in a
|
| odd binding behaviour | 27 Jul 2006 13:02 GMT | 15 |
I have a data column that is bound to a the text property text box. If I programmatically set the value of the of the .Text property to "0" no data is committed to the database - however if I phyically type the 0 it is committed.
|
| BindingSource.Filter - set an instr | 25 Jul 2006 05:11 GMT | 3 |
I need to have the ability to set a the filter property of a binding source to search for a value within a field. I don't have any trouble with setting >, <, or =, but setting anything that searches to see if the field value contains a substring doesn't seem to work
|
| BindingManagerBase doesn't get set | 21 Jul 2006 04:10 GMT | 9 |
I have a piece of code that looks like the sample below. Even though the textBox1 is on a form, the BindingManagerBase property of the binding is not getting set during the bc.Add(b) call. This works fine most of the time. I'd like to know what conditions need to be in place for ...
|
| Force an entire row in a bound DataGridView to repaint | 20 Jul 2006 02:59 GMT | 1 |
I have a DataGridView bound to a DataTable via a BindingSource. I have overrided the CellFormatting event on the grid to change the forground and background color of the cells based on a status value of each row, this works well but when I change the status only the status cell
|
| Updating DataSource from CurrentCellChanged | 19 Jul 2006 17:41 GMT | 1 |
It's rather obvious why this fails, what I can't figure out it a better method of accomplishing what I want. Basically, I have a DataGridView. MultiSelect is false, and SelectionMode is FullRowSelect.
|
| Datagridview displaying object withing an object. | 19 Jul 2006 08:03 GMT | 6 |
I have a datagridview, I am binding it to an arraylist of objects. within those objects I have another object. Is there anyway to reference the child object as a column? Here is code example:
|
| bound changed not committed to db | 17 Jul 2006 02:28 GMT | 3 |
I have a form with several bound controls on it. The user has the ability to just start typing in a field on the form. If the user navigates off of the record, the changes are committed as expected. If the form is simply closed without navigating away from the current record, ...
|
| Master (Parent) / Detail (Child) - INSERT statement conflicted ... | 16 Jul 2006 17:56 GMT | 8 |
Seems a common problem . . . tblInvTrans (child) tblPurchaseOrders(parent) FK Insert & Delete set to cascade.
|
| ComboBox binding, best approach? | 12 Jul 2006 20:14 GMT | 2 |
Here is a simple question: There is a list of objects in a collection that need to be displayed in a ComboBox. The text that should be displayed is NOT the ToString(), but the property LongDisplayName. What is the best way to display this
|
| VB 2005 Newbie - Databinding? | 12 Jul 2006 20:05 GMT | 1 |
Hope everybody is well? I hope you all don`t mind a newbie asking a rather daft question but here goes. Im using Visual Basic 2005, i`ll try and explain best I can: I have a form, on the form is various items. I have a Datagrid which is
|
| Getting Binding objects from a bound control? | 11 Jul 2006 16:39 GMT | 1 |
Does the VS Designer create Binding objects when a control is bound to a BindingSource control at design time? I am binding a DataGridView to a BindingSource control at design time, by setting the grid's DataSource property to the Binding Source.
|
| Setting delegates for Binding.Format and Binding.Parse events? | 10 Jul 2006 21:23 GMT | 1 |
How do I set delegates for the Format and Parse events of design-time bindings in .NET 2.0? I have a grid that is data-bound to a custom object through a binding source control:
|