bindingsource Questions

2

Solved

I've got a DataGridView that is backed by a SortableBindingList as described by this article. This is essentially a BindingList whose Data source is a list of custom objects. The underlying custom...
Perlite asked 24/1, 2013 at 2:30

2

Solved

My winforms skills are a bit rusty. I'm using a BindingSource for a DataGridView. On KeyDown of the DataGridView i want to select the next/previous record which works as desired. I want to select...
Fairfield asked 11/3, 2013 at 12:42

1

Solved

I have a datagrid whose ItemsSource binds to a CollectionViewSource. In each column I specify the Path property of the binding to get the specific information to display. What I'd like to do is to...
Aniakudo asked 27/8, 2012 at 15:1

1

The error I got when I change the datasource of BindingSource "databinding cannot find a row that is suitable for all bindings row that is suitable for all bindings" this.RemoveAllBindings(); //...
Dielectric asked 25/3, 2009 at 3:37

3

Solved

You can use the Filter property of a BindingSource to do SQL like filtering. For example: bindingSource.Filter= "Activated = 1" Is there something like documentation on the exact syntax of this?...
Bunton asked 7/9, 2009 at 15:15

2

Solved

I created the following class to model a person: namespace DataBindingTest { public enum colorEnum { Red, Green, Yellow, Blue, } class Person { private string _Name; private int _Age; ...
Disturb asked 1/8, 2011 at 1:15

2

Solved

I want to display a list of people in a DataGridView in a Windows Forms app. I want my service layer to return a list of Person objects (e.g., IList<Person>). I want changes in the list to be...
Warmth asked 13/1, 2011 at 1:17

1

Solved

I found that I can just set the DataGridView.DataSource directly to the DataTable without using the BindingSource in between, which is what all of the tutorials I've seen so far are using. So what ...
Slocum asked 13/12, 2010 at 20:39

1

Solved

I'm using such a BindingNavigator to let the User move through Data Records of a BindingSource. How can I change the displayed page to a desired page number through the program? I already set the...
Thunderpeal asked 29/8, 2010 at 14:46

2

I'm trying to use System.Windows.Forms.PropertyGrid. To make a property not visible in this grid one should use BrowsableAttribute set to false. But adding this attribute makes the property not bi...
Simpatico asked 12/1, 2010 at 18:24

3

Solved

I am just learning C# through Visual Studio 2008? I was wondering what exactly is the correlation between dabases, datasets and binding sources? As well, what is the function of the table adapter...
Alerion asked 28/2, 2009 at 20:54

1

Solved

Is it possible to use BindingSource.find on multple columns? I have a treeview and a combobox. The combobox provides the ID that is used to build the treeview. When I select a node in the tree vie...
Defect asked 24/11, 2008 at 19:26

© 2022 - 2024 — McMap. All rights reserved.