| Thread | Last Post | Replies |
|
| Radio Button and DataSourceUpdateMode | 26 Jul 2007 14:49 GMT | 1 |
I have three radio buttons in a group on a form. I bind these to three boolean properties of a business object.This binding changes the behavior of the buttons. Let's say button1 is selected. When I click one time on button2, then
|
| Readonly DataBinding Form | 21 Jul 2007 11:33 GMT | 1 |
Hello, sorry for my english, i'm from Italy I have the following scenario: a form with controls binded to a bindingsource that is binded to a typed-dataset-table. I must have the form (and the control) in a readonly mode to prevent
|
| Limit textbox input | 20 Jul 2007 15:38 GMT | 1 |
I have a WinForm application that has Textbox controls bound to a model with SQL server columns of data type, money. I only want to allow values like 45.33 to be entered, and not 45.336. What is the best way to limit input to two decimal points of precision?
|
| Sorting in DataGridView | 19 Jul 2007 16:52 GMT | 7 |
I have a DataGridView bound to a DataTable via a BindingSource object. Is there a way I can control how the sort comparisons are done when columns in the DataGridView are clicked? I can't see where the sorting is done. My guess is in the default
|
| Link forms whit same key | 18 Jul 2007 12:11 GMT | 1 |
How to call a form from other form and only display information with the same Key as the caller form? Ex: If I have a form with codproduct and want to call another form to only display information that contains as foreign key the same codproduct as the
|
| Combobox parent child update problem | 17 Jul 2007 04:50 GMT | 3 |
In a windows form I have 2 comboboxes. One depends on the values selected in the other. In a one-to-many relation. This is done by setting the datasource of the other to the relation between the two. It all works unless I change the value of only the first combobox. Then the ...
|
| How to write a config setting at FormClosing | 16 Jul 2007 05:52 GMT | 1 |
I have bound the form's Location property to a userSettings setting "WindowLocation" using the configuration settings dialogs in vs2005. I can't within a few minutes figure out how to write out the setting on FormClosing event. I find the few docs on this totally obtuse. Can you
|
| Binding to PropertyGrid - SelectedObjectsChanged event not raised... | 13 Jul 2007 12:30 GMT | 4 |
I've databound the SelectedObject property of a PropertyGrid to a list of objects that i have. When i select different objects the data appears fine in my PropertyGrid. However, I want to perform some checking on the object each time it changes. Because I had bound the data to ...
|
| Problem with BindingSource.EndEdit | 11 Jul 2007 12:14 GMT | 2 |
I have a quite complicated problem which I hope that I can explain right. I have a very simple form with three text boxes, one binding source and one binding navigator. The three text boxes are bound to the FirstName, LastName and the Age property on the Employee class which you ...
|
| How to implement a business logic layer | 09 Jul 2007 09:19 GMT | 2 |
I would like to know what's the best way to implement a business logic layer between my user interface and my database. I would say I'd make a dll-project for the business logic layer and make classes that represent objects/tables. For example, if I have a table
|
| binding source in a 3 layered aplication | 05 Jul 2007 22:24 GMT | 1 |
I have a windowsform (not an ASP .net) aplication with a data layer, a business layer, and a presentation layer. one business class has 5 metods; GetEmployees, GetEmployeeByID, DeleteEmployee, UpdateEmployee, and AddEmployee.
|
| BindingSource/Custom Object creating a HasChanges method? | 05 Jul 2007 22:23 GMT | 1 |
I have a custom business object that implements INotifyPropertyChanged and IEditableObject. The collection of these objects inherits from BindingList<T>. I created a BindingSource from which a grid (list of objects) and a detail groupbox where bunch of textboxes are bound to
|
| update data bound listbox - get "System.Data.DataRowView" | 03 Jul 2007 07:56 GMT | 3 |
Hello, World! Good day to you! I am using VS 2005 and I have a listbox that is data bound to a column in a table on a SQL Express database. When I select the "New" button it calls an
|
| Cancel addition of new row | 02 Jul 2007 07:29 GMT | 2 |
I have a simple Windows form bound to one SQL Server table using the BindingSource control. I would like to use the BindingNavigator control to navigate through records. One text box holds a required field. When I click the AddNew button on the BindingNavigator, a new
|