all groups > dotnet windows forms databinding > october 2007
vs2008
Posted by John at 10/31/2007 12:22:37 PM
Hi
What are the advantage of vs2008 over vs2005?
Thanks
Regards
... more >>
Databinding to Listcontrol shows the name of the class and not the property
Posted by Rahul at 10/29/2007 2:09:31 PM
I have a list Control to which I am binding an array of custom objects. Say
the custom object is ClassA. ClassA has a property XYZ. The property XYZ is
of type ClassB. ClassB has a member called "Name". Now I want the "Name" to
appear in the display of the List Control. If I set the DisplayMem... more >>
Refreshing data
Posted by Joe at 10/25/2007 1:59:32 PM
I have a ListBox and Textbox on a form. I add several objects to the listbox
using Items.Add(myclass). The TextBox.Text is bound to a myclass.Name. When
the user changes the name in the Textbox I want it to update in the ListBox
but this doesn't happen.
Is there a way to get the ListBox to ... more >>
Need to sort a BindingSource
Posted by 0to60 at 10/25/2007 12:12:01 PM
I read data from my db and store it in business objects, such as Invoice.
In some cases, I'll have a one to many relationship, such as Invoices and
InvoiceItems, whereby the Invoice business object stores its InvoiceItems in
a Dictionary<int, InvoiceItem> collection. On the EditInvoice form, ... more >>
Databound control not updating user object on form closing ('X')
Posted by brad at 10/24/2007 3:29:01 PM
I have a simple form that binds the properties of a user defined object to
text boxes on the form. If I edit the value of a text box and click the red
'X' to close the form the bound text box does not update the property in the
user object. On the other hand, if I edit the value of a text bo... more >>
ComboBox loads slow
Posted by 0to60 at 10/18/2007 12:29:33 PM
I am noticing that it seems to take windows a long ass time to paint a
ComboBox control that has say, 32000 items in its dropdown. Yes, I know
that's a lot. However, I have a VB6.0 application that uses DAO to access
an Access database, and it can load up a 32000 item combobox in a fraction ... more >>
How to populate a treeview from a dataset
Posted by xmail123 NO[at]SPAM yahoo.com at 10/16/2007 10:51:08 PM
I am very new to C#. I need to create a Windows form that will read a
SQL table and populate a treeview. I can connect to the DB, create
the dataadapter, populate a data set. The problem is how to use the
dataset to populate a treeview.
I have looked at a few examples but none use a datas... more >>
Client side data storing
Posted by Mike D at 10/12/2007 11:27:01 AM
I need a way to read a bar code with an associated timestamp (when it was
read), display it and then repeat this process until all barcodes are read
(number varies). And I need to do this without having to go to the server
after every scan. Does anyone know how I could do this?
--
Regards... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
AddingNew record using DataSource
Posted by SteveKing at 10/8/2007 3:45:02 PM
I'm developing an application that uses a many-to-many relationship for a
table and I'm having difficulties using the BindingSource.AddNew to build a
new main record and link record. I use a navigator to invoke the AddNew and
add the new record in the AddingNew event of the BindingSource. Af... more >>
DataGridView - ReadOnly
Posted by Nick Locke at 10/6/2007 9:52:46 PM
I have a DataGridView column which will not allow me to set ReadOnly=False.
I can change the setting from True to False in the designer but, as soon as
I click OK and then go in and look again, it has gone back to True.
The underlying SQL which feeds the DataSet, BindingSource, etc is not
u... more >>
Column headers
Posted by Dmitry Nogin at 10/5/2007 4:27:12 PM
Hi,
I have to use some custom databindable grid component. It works fine but it
pays no attention to DataColumn.Caption properties while databinded to
DataTable. So, I'd like to subclass the grid and draw captions by myself.
How to retreive this caption information properly from the DataSo... more >>
Updates of Master - Detail tables to database
Posted by Jakob Lithner at 10/4/2007 5:19:02 AM
I ran into strange problems with a scenario that should be common and simple.
I have two tables, Master and Detail, that are bound by foreign key in
database. I have built a dataset corresponding to the database structure. In
my form I have added DataGridViews that are bound to typed dataset ... more >>
Update datagridview
Posted by Flavio MIANO at 10/2/2007 11:05:49 PM
Sorry for italian message....
i have this ssituation
i have a object of type list(of )
his name is ListaPosizioni
class ListaPosizioni
inherits list(of Posizioni)
end class
a bindingsource object
and the datasource object is a ListaPosizioni Object
when i update my object the ... more >>
|