Archived Months
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet windows forms databinding > may 2008

Problem with Data Binding a ComboBox's SelectedValue --
Posted by Ben Gribaudo at 5/30/2008 1:48:00 PM
Hello, I am trying to data bind the SelectedValue property of a .Net 3.5 Windows Forms ComboBox control to a property on a custom object. In particular, the goal is that the initially-selected value (after loading) will equal the bound-to property of the custom object. But it doesn't work tha...more >>


lookup combobox not triggering INotifypropertychanged
Posted by Rick at 5/29/2008 7:07:27 PM
VS2005 in a Windows form I have a databound lookup combobox that is setup in the usual manner with the Text, DisplayMember and ValueMember all set and bound to a data object. In the Windows form when I drop down the combo box and click on a value the SET method of dataobject that it is con...more >>

How to clear textbox bound to date field
Posted by A. van Huizen at 5/25/2008 10:44:04 PM
Hello, I have a form that is bound to a BindingSource. One of the fields on the form is a datefield. How do I clear this textbox? I do it now via code via a button with inserting DBNull.Value in the DataRowView column for this field. But why Me.TextBox1.Text=DBNull.Value.Tostring doesn't work...more >>

Newly added Row fails to update
Posted by Morris Neuman at 5/23/2008 8:39:01 PM
I have a windows form with a Dataset with only one table bound to Details View controls, all created in VS2005 with designer. I added a button to create a new record and issue a this.mBDetailsBindingSource.AddNew(); to create a new blank row in the table and then fill the controls with their ...more >>

Templates mucked up?
Posted by Steve Alpert at 5/23/2008 2:19:11 PM
When going to Advanced bindings dialog and clicking the down-arrow on the combo to add an project object, the dialog just disappears. Further, the event viewer catches the following error in the application log: One or more Visual Studio templates do not match any installed project packages. ...more >>

Updating changes to data grid
Posted by Krzysztof via DotNetMonster.com at 5/20/2008 8:30:04 PM
Good Afternoon, -- Message posted via http://www.dotnetmonster.com ...more >>

Advantage of DataBindings.Add
Posted by Ryan at 5/14/2008 7:49:31 AM
Hello everyone! We are creating generic lists of objects and I am trying to determine if we should be implementing the INotifyPropertyChanged on the objects. Is there an advantage to this: txtMyName.DataBindings.Add(new Binding("Text", obj, "Name")); over this: txtMyName.Text = obj....more >>

A DataTable-bound DataGridView throws a low-level Exception when columns are sorted, removed and re-added to the underlying DataTable.
Posted by Sath123 at 5/11/2008 7:01:55 PM
Hi, I am experiencing this issue when I am working on creating a dynamic datagrid. Please let me know if there is any work around for this problem. If I am posting this in the wrong newsgroup please point me to the right newsgroup. Issue: A DataTable-bound DataGridView throws a low-level Ex...more >>



How to make a class binding
Posted by Hugo Pereyra at 5/7/2008 11:23:02 AM
Hi, i´m programming in C#, and i´ve a simple class Car, and i´d like to make it able to accept a datasource to fill their properties, Can anybody help me in how to do it ? Im working with a datasource, and i´d like to bind the value "pers" from the datasource, to my class.... Thanks a lot!...more >>

Synchronizing DataGridView from second form
Posted by rodboggess@hotmail.com at 5/5/2008 8:03:35 AM
Ok, this one's about to walk me crazy. (I'd drive, but from where I'm sitting, walking is probably quicker.) I've got two forms that are open simultaneously (the first loads the second on the first's Load event). Form 2 as a DataGridView that's bound to a stored query (SQL Server 2005, VS200...more >>


DevelopmentNow Blog