| Thread | Last Post | Replies |
|
| Updating new row in DataGridView | 31 Jan 2007 23:35 GMT | 3 |
I am having some trouble with updating/inserting data through a databound DataGridView. I call the TableAdapter.Update method on the RowLeave event. When the user tabs out of the row to the new row, the update occurs correctly. What I want to do is fire the update whenever the ...
|
| BindingNavigator How do i disable the delete on a per record basis | 31 Jan 2007 20:53 GMT | 1 |
I have a BindingNavigator, BindingSource (Custom Object) and a DataGridView. What i want to do is disable the delete button on the BindingNavigator based on the value of a particular field within the selected row of the DataGridView
|
| How to determine if a form IsDirty | 31 Jan 2007 20:49 GMT | 2 |
Let's say you have a form with a bunch of text boxes bound to a binding source. The form also has a "Save" button which you want enabled only if the user has made changes. The Save button will call bindingSource.EndEdit() and will then instruct the dataset to update the
|
| DataGridView and ComboBoxColumn | 31 Jan 2007 06:46 GMT | 1 |
This is on .Net 2.0 in a WinForms application. I have a DataGridView that is bound to a BindingSource. The DataGridView has 3 columns. The first two are "normal" text columns and the last is a combo box column.
|
| Is cell[index] the only way to get row data? | 29 Jan 2007 19:33 GMT | 1 |
It is awkard to code up the following: double dFreq = Convert.ToDouble(dataGridView1.Rows[CurrentFrequency].Cells[freqDataGridViewTextBoxColumn.Index].Value); It seems to me (comeing from CBuilder6) that I should be able to specify the
|
| threads: datagridvew works but not textboxes, etc? | 29 Jan 2007 19:33 GMT | 1 |
New to threading in C#, I discovered I needed a delegation mechanism to update a textbox (for example) from a timer thread. However, the timer thread seems to have no problem getting data from my datagridview nor "selecting" a row nor updating an unbound value on that grid. Did ...
|
| databind cells within a column to different properties | 29 Jan 2007 12:27 GMT | 2 |
I need to populate a table with a list of paramaters comming from a business object as properties. I do not want the normal dataview were a property is represented by a column. Instead I would like for example two columns. The first shall contain the names of the parameters and ...
|
| Textbox bound to custom property shows 0 when value is nothing | 26 Jan 2007 20:48 GMT | 5 |
I have this rather simple problem. I have created a class which implements INotifyPropertyChanged. This class has a public property (of type long) which is bound to a standard textbox using a BindingSource object as broker. This works fine, except when the underlying value is
|
| Data Grid Behavior with Normal Controls | 25 Jan 2007 16:39 GMT | 5 |
Is there a way to get the data grid behavior of working with multiple rows, but use conventional controls like text boxes and combo boxes? Let's say I have form that is used for orders. Each order can have multiple lines, but I don't want to use a datagrid for order lines.
|
| Typical datetimepicker problems | 22 Jan 2007 11:03 GMT | 1 |
Trying to bind datetimepicker to bindingsource I face 2 problems: 1) The typical problem - I can't bind to nulls. Summing up, what is the easiest way to allow datetimepicker to be bound to null? 2) This thing is about date formats in which datetimepicker stores dates. In
|
| Databinding multiple datagridview's on a single form | 22 Jan 2007 07:08 GMT | 1 |
Just starting out with VB2005 using SQL2005 Express, I hope that someone may be able to help me, I have created a windows application and have created a connection to the sql database (Northwind) and added the required tables to the data sources using the wizard, I have dragged ...
|
| Databinding on a combobox | 18 Jan 2007 13:32 GMT | 2 |
I use a business layer which I wan´t to bind to Windows Forms controls. I make heavy use of interfaces, I now I have a problem: I attached a sample Project to show the problem: When you test this little application, you will see the the databinding
|
| Newbie Missing Something with Access DB Update Using VB .NET | 16 Jan 2007 23:07 GMT | 6 |
I have a VB .NET application that is communicating properly with an Access DB. I have a slew of textbox controls bound to a dataset and when the application launches, the fields are correctly populated. If someone changes a value in one of the text boxes, I need to have a
|
| Designer creating duplicate DataRelation | 16 Jan 2007 20:33 GMT | 7 |
I've created a typed DataSet called MembershipDataSet. MembershipDataSet contains a baked-in DataRelation between two tables which gets created in the constructor and added to the base class DataRelationCollection. In VS forms I drag the MembershipDataSet component onto the form. ...
|
| BindingContext and components | 15 Jan 2007 23:54 GMT | 2 |
I'm trying to write a component that has a DataSource and DataMember property much like the DataGridView. I want to use the CurrencyManager so I need to access the BindingContext of the form. But how can I do this? If I wrote a control, I could just do
|