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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|