| Thread | Last Post | Replies |
|
| Databinding to Listcontrol shows the name of the class and not the property | 30 Oct 2007 09:16 GMT | 1 |
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 ...
|
| Databound control not updating user object on form closing ('X') | 28 Oct 2007 20:10 GMT | 2 |
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 ...
|
| Refreshing data | 27 Oct 2007 16:51 GMT | 2 |
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.
|
| Need to sort a BindingSource | 25 Oct 2007 18:50 GMT | 1 |
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 ...
|
| How to populate a treeview from a dataset | 18 Oct 2007 10:52 GMT | 2 |
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.
|
| Client side data storing | 15 Oct 2007 14:15 GMT | 4 |
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?
|
| datagridview data | 11 Oct 2007 20:04 GMT | 5 |
C# - VS2005 - windows form app child form has a dataGridView control that displays a table when a row is clicked I would like to return the value in one column (the primary key) to the parent form
|
| AddingNew record using DataSource | 10 Oct 2007 22:37 GMT | 1 |
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 ...
|
| DataGridView - ReadOnly | 10 Oct 2007 15:54 GMT | 2 |
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, ...
|
| Column headers | 08 Oct 2007 18:53 GMT | 1 |
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 ...
|
| Updates of Master - Detail tables to database | 08 Oct 2007 12:06 GMT | 6 |
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 ...
|
| Update datagridview | 05 Oct 2007 19:09 GMT | 4 |
Sorry for italian message.... i have this ssituation i have a object of type list(of ) his name is ListaPosizioni
|