| Thread | Last Post | Replies |
|
| Listbox bound to BindingList | 30 Nov 2007 18:43 GMT | 3 |
VB2005. I have a ListBox bound to a BindingList that is initially empty. As soon as I add an item to the BindingList, the call to Add throws an exception: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
|
| WindowsForm Designer databinding null reference exception | 27 Nov 2007 04:18 GMT | 6 |
I have a windows form project. When I try to define a databinding, in the designer window, for a control, I use (DataBindings) attribute, I obtain immediately a null reference exception, only for this project!
|
| Binding an Object Property with DateTimePicker | 21 Nov 2007 17:55 GMT | 4 |
I'm binding an business object's property (DateTime datatype) with a DateTimePicker control on my windows form using below mentioned code. While loading the form, the control is getting its value correctly by hitting the Property Get, but when I change the date on the control, ...
|
| Custom TypeConverter, vsFlexGrid, Binding | 14 Nov 2007 19:55 GMT | 2 |
I wrote a custom type converter class to convert a Single to a string with knowledge of a "missing" value. I decorated a property of my business object, of type Single, to use this custom TypeConverter.
|
| Binding to a Coarse Grained Object | 06 Nov 2007 15:45 GMT | 7 |
I have an object called Invoice which has as one of its members, an object called customer which is of type Customer. Class Customer has properties such as CustomerId, CustomerName, etc. In my form, InvoiceDetailForm, I bind the controls on the form to a binding source ...
|
| BindingSource bound type. | 05 Nov 2007 16:42 GMT | 3 |
I'm having a tough time figuring out how to get the type that a binding source is bound to..at least in a consistant manner. What I have been doing is: (aBS is a BindingSource) Type aType = aBS.List.GetType();
|
| Newbie question: How to implement CRUD | 04 Nov 2007 18:24 GMT | 1 |
I have displayed a DataTable in a DataGrid, and now I want to implement insert, update and delete operations on this table. How can I do that? I had tried to call DataTable.NewRow() to insert a new row, but I didn't see
|