| Thread | Last Post | Replies |
|
| Reflecting on a Generic Type | 31 May 2006 09:11 GMT | 4 |
I am trying to set up a datagrid combobox column to get the display member given the value member when the datasource is a BindingList(Of T). I expanded on a MS example for the BindingList, and am attempting to use reflection to get a property value from the instance that ...
|
| combobox datasource | 31 May 2006 04:45 GMT | 1 |
I have a combobox binded to a Datatable something like combo.DataSource = dt.DefaultView; combo.DisplayMember = "descField";
|
| newbie -- datagrid not automatically committing edits and inserts | 30 May 2006 14:13 GMT | 2 |
Using VS 2005 and Sql Server 2005. I've created a datagrid using the wizard, and told it to generate insert and update statements. the datagrid displays the data nicely, i can edit cells, and add new rows. but these changes do not get posted to the actual database. there must ...
|
| DataTable.Column.DefaultValue ?? | 30 May 2006 00:17 GMT | 1 |
I have a DataTable in my DataSet with a "datetime" Column. I can specify a DefaultValue for this Column using a String such as "01/01/2006" etc but can I set it to default to today? Something like ".DefaultValue = DateTime.Today" but do this in the designer
|
| Data bind to web service... | 29 May 2006 11:54 GMT | 1 |
I have a web service which returns a data table through a web method. I also have a win form with a combo box. The combo box is linked to a binding source - the binding source is linked to the web service. However, when I open the form there is no data in the combo box.
|
| displaying generated field and binding to an acutal field | 29 May 2006 01:55 GMT | 1 |
I've got a small problem I can't find an answer to. I need to be able to display multiple items in a combobox from a SQL generated field (such as (SELECT RTRIM(per_surname) + ', ' + RTRIM(per_first_name) AS company_manager) and bind to the com_manager_per_id field (a FK to
|
| Binding Lost? | 25 May 2006 21:15 GMT | 1 |
I wrote a custom control which has a textbox inside it and it has a value property which is bindable to a datasource. In my sample screen, I have a datagrid and a bunch of my custom control. I bind them to the same datasource so when the user moves in the rows of the
|
| DataGridView with different ComboBox items in each row | 24 May 2006 19:18 GMT | 4 |
I have a DataGridView with three columns. The first two columns contain ComboBoxes, the third column contains textboxes. The ComboBoxes of the first column always have the same list of items, but in the second column, the items depend on the selection of the cell in the first
|
| Who is bound ? Wich controls are bound | 24 May 2006 02:36 GMT | 3 |
is it possible to see wich controls are bound to a dataset ? For example is it possible to see that a TextBox is bound to a field in a datatable of a dataset ? And i only know of the existense of the DataTable / DataSet
|
| combobox binding | 23 May 2006 20:11 GMT | 3 |
I have a combo box bound to a binding source wich is bound to a table. For some reason the selectedvalue of the combo box doesn't show the correctt value of the row the first time the form is showed. When I move to the next row using a binding navigator the combobox selectedvalue ...
|
| Simple database to comboBox data bind | 19 May 2006 18:22 GMT | 1 |
Still kind of new to .NET , and have been looking online for many hours now on doing this. All I want to do is take a couple columns from a view in a database, and bind it to a combo box. What's the simplest method to do this, cause what I've been seeing so far all seems to get
|
| Databinding problem ? | 19 May 2006 14:06 GMT | 2 |
I'm having some difficulties understanding the databindings. I have a bindingsource on a form wich reads a dataset from the DB on the form i have a record view and a datagridview dropped on it from the datasources.
|
| App Hang with BackgroundWorker | 16 May 2006 06:25 GMT | 5 |
I am upgrading a Windows Forms app to ADO.NET 2.0 from 1.1. I tried using a background worker to load my dataset for a particular form in a separate thread, being careful not to try to update the UI from this thread. The form loads and works well, but hangs when I hit the close ...
|
| When does a DataSource get updated? | 14 May 2006 20:30 GMT | 1 |
I have a form with a checkbox that is bound to a System.Boolean field in a data table. I also have a handler for the DataRowChange event. When I check or uncheck the checkbox the DataRowChange handler is not called. If I call EndCurrentEdit() the handler also does not fire.
|
| Combining two fields in a textbox | 13 May 2006 19:19 GMT | 4 |
is there a way to bind a textbox in such a way so that its text is a concatination of two fields from a dataset? To be more specific, I need to have a textbox with Full Name, but in the database I have a field for First Name and a field for Last Name.
|