| Thread | Last Post | Replies |
|
| DataRowState is unchanged even though the dataset is changed | 30 May 2005 04:03 GMT | 1 |
On my form I have datagrid displayed and few textboxes displaying data relevant to the particular row in the datagrid. The Datagrid is bound to Dataview. Dataview properties - allowedit and allownew are set to true. A textbox 'txtfirstname' is bound as :
|
| Additional white spaces in returned values | 25 May 2005 20:42 GMT | 3 |
All my varchar values returned through the dataset have additional white spaces to the end. If in my database I have firstname='fred' and lastname='ven' when I concatenate firstname and lastname value returned by the dataset I have 'fred ven '. Does ...
|
| Adding a new row for editing in a separate form | 25 May 2005 16:50 GMT | 3 |
Can't figure out how to do the following: I use a separate form for editing a row in a table. The form has its own dataset for the edited and lookup data. Now, how do I use such a layout for adding data ?
|
| How to bind DataMembers (not DataSources) to custom collection classes? | 24 May 2005 00:36 GMT | 2 |
I have created some custom collection classes that inherit CollectionBase and implement IBindingList, IListSource, and ITypedList. I'm no expert on the subject, but I have been able to create custom classes that successfully bind to data grids, react to ListChanged event, etc. ...
|
| Datagrid/arraylist bool shows as checkbox, except when I use my Tablestyle | 22 May 2005 09:29 GMT | 1 |
I've got a simple class (with getters/setters) that I add objects to an arraylist and bind to a datagrid. If I don't use my own tablestyle the default one displays bools as checkboxes. When I use my own tablestyle by setting mappingname = "myclass[]" it displays the checkboxes as ...
|
| Use of DataRelation Class | 20 May 2005 12:54 GMT | 5 |
I've done this (I've left out a lot of stuff like the SQL definitions): odbcDA_TaskActivities.Fill(dsTaskActivities, "Tasks"); odbcDA_TaskActivities.Fill(dsTaskActivities, "Activity"); DataColumn parentCol;
|
| Issue with DataGrid bound to a DataView on DataSet that gets rows deleted by another thread | 19 May 2005 02:48 GMT | 11 |
I have a small Windows Forms application that has a DataGrid object bound (through the DataSource property) to a DataView that is linked to a DataTable from a local instance of a typed DataSet. The DataSet is updated dynamically, by another thread in the same process
|
| how to clear the bindingcontext of a form | 18 May 2005 15:54 GMT | 2 |
I use databinding to bind property from a class to various control on the form. when i change the class, i remove all the databinding but the datasource remain in the bindingcontext, is there a way to clear the bnidingcontext?
|
| Field validation and data binding | 17 May 2005 08:49 GMT | 2 |
I have a fairly typical form with some textbox controls bound to a data table. I am processing the validating event for these controls and setting e.Cancel depending on the outcome of my validation. Somewhere between the control validating event and the control validated event, ...
|
| DataAdapter and Bad Table | 17 May 2005 00:09 GMT | 1 |
I must have something wrong with one of my tables (the underlying data on the server) because this code works: cmd.CommandText = "SELECT * FROM \"tblControl\""; and so does this:
|
| Combobox databinding context not working | 13 May 2005 00:48 GMT | 1 |
I have a form with som textboxes that uses databinding like this: The "mysource" contains objects with Number, FirstName and a Type box1Txt.DataBindings.Add("Text", mysource, "Number"); box2Txt.DataBindings.Add("Text", mysource, "FirstName");
|
| System Error | 12 May 2005 15:00 GMT | 1 |
Anyone know what this means: An unhandled exception of type 'System.Data.Odbc.OdbcException' occurred in system.data.dll Additional information: System error.
|
| ReFilling a DataSet | 12 May 2005 14:49 GMT | 1 |
If I refill a DataSet by first changing the SQL in the DA, is there something that I need to do with the bound controls to force them to display the new results?
|
| datagrid formating using an If statement | 12 May 2005 11:14 GMT | 1 |
When binding our dataset to our datagrid we want to first put the data through a routine. For example, a certain DB2 field is a code like 127. When it's 127 I want to display "All day". Any suggestions on how to format data in a grid by running it through a custom "if" ...
|
| Binding a customized DateTimePicker control and datagrid | 11 May 2005 02:14 GMT | 3 |
Hi, I have a situation where I have to bind a DateTimePicker control and a datagrid to the same data source. In the DateTimePicker.Validated event, I have to perform certain edit checks. The event fires when the user selects a date from the calendar. That is fine. However ...
|