Archived Months
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet windows forms databinding > july 2004

databinding issue in 1.1 fwk
Posted by Dotnet Newbie at 7/28/2004 5:26:00 PM
Hi all, I am working on .NET framework 1.1 While binding data to our master table in the database, we are using this System.Data.Relatedview class. But the issue is, it does not appropriately update data. The databinding is failing too. I traced down the issue to this particular class by ma...more >>


How to change GridColumnStyle of DataGrid control ?
Posted by Larry at 7/26/2004 11:02:41 AM
Hi my friends, I'm using a DataGrid Control to display a DataTable from Dataset. I can display it in default format. I want to adjust the width of each column. I went to properties of DataGrid control and set TableStyles and added gridcolumnstyles in GridColumnStyles collection. But it doesn't...more >>

Rtf-Binding in a Richtextbox sets HasChanges in the Dataset to True ? even without changes?
Posted by Liz Helmecke at 7/23/2004 11:46:59 AM
Hello NG, VS 2003 / VB.NET / SQL-Server-Windows-App: On a Windows-Form are some Textboxes and Combos and so on, and 2 Richttextboxes. All these are bound to the Dataset: Databinding.Add(new Binding("Text", ...)) or, if it is a Richtextbox: ....(new Binding("Rtf", ...) Now, after the Use...more >>

Saving bound vb.net datagrid changes (newbie)
Posted by Michael at 7/22/2004 8:26:42 PM
Hello! I'm having a problem getting this functionality working and was hoping someone could point me in the right direction. I'm using VB.NET 2002 and I'm trying to dynamically bind an access db table to a datagrid and then save changes made to the data in the grid. My form constructor ...more >>

combobox headaches
Posted by njp at 7/22/2004 4:05:46 PM
BlankHi, So much struggle and wasted time (days). I'm having a terrible time getting bound comboboxes placed on tab pages to behave correctly. I can't get null values to display when navigating between records. The previous values display instead of null. Also, the binding.format event is not ...more >>

Databinding based on Datarelation stops functioning
Posted by B_Korenaga NO[at]SPAM hotmail.com at 7/21/2004 11:14:17 AM
Using VS .Net 2002 and Framework 1.0, all updates. I've created a simple test project to illustrate my problem based on the Pubs database. Using a windows form, I've added a few textboxes, navigation buttons, dataset refresh button and a couple of datagrids for debugging purposes. Using simp...more >>

Data bound list box displays empty item after adding new row to bound table
Posted by Torgeir Strand Henriksen at 7/18/2004 1:41:21 PM
Hi! I have a DataSet with three tables - order, item, and one to link them for a many-many relation. In the form, there's a combo box for selecting the order, and a list box for displaying the items in that order. Everything is good so far, until I add a row for the order displayed by the...more >>

Hiding a column
Posted by Claire at 7/15/2004 12:15:40 PM
Newby c# user.Sorry, Ive already looked through google but not found an explanation. I create an in-memory DataTable plus set of DataColumns plus a DataSet. I dynamically add my rows to the table which is bound to a datagrid and it all works fine. But I don't want all of the columns to be visi...more >>



Databinding Bible?
Posted by a at 7/15/2004 11:45:31 AM
What is 'The Reference Book' on VB.NET databinding? Kevin ...more >>

Dataset Copy method
Posted by Gary Shell at 7/15/2004 1:28:18 AM
Still fighting with why the EndCurrentEdit seems to clear the underlying Datasets.Item collection when a exception is thrown, I thought of a workaround. I thought I'd declare dsclone as Dataset, copy my actual dataset (which should clone the structure and copy the data) and then after the exc...more >>

DataView binding
Posted by a at 7/14/2004 1:06:25 PM
Hey gang, I am near tears at this point. I have an app that runs in the UK and the US, and have already gone to school on DataTable.Compute and UK date formats (have to convert to EN-US). Also, the app has an 'online' (vb.net webservice with typed datasets) and an 'offline' mode (xml files, ...more >>

Error recovery durring AddNew
Posted by Gary Shell at 7/14/2004 11:23:09 AM
I have a simple data form that can edit and add records to a table. In my "OK Button" code I EndCurrentEdit and then perform a UPDATE method on the data adapter. It works just fine adding and editing data. One field on the table is a foreign key and I have referential integrity enforced on t...more >>

Use DataBinding to Select Multiple Items in a Listbox Automatically?
Posted by bradleypjohnson NO[at]SPAM gmail.com at 7/13/2004 1:47:41 PM
This seems like something that would be relatively common, but I've yet to find a situation similar to mine. We have a list of equipment and a list of issues, and a table that combines potential issues with the equipment id number. My winform displays the issues in a listbox, and I'd like to ...more >>

Using BindingContext with a Typed Dataset
Posted by liam at 7/13/2004 2:56:17 AM
Hello, I am trying to increment the position of the currency manager for a given typed dataset. This line works - Me.BindingContext (DataSetInstallers, "Installers").Position += 1 This line does not work Me.BindingContext(DataSetInstallers.Installers).Position += 1 Any ideas...more >>

Synchronizing values
Posted by Gabriel Michaud at 7/8/2004 10:16:27 PM
Hello, I'm currently reading on .NET data binding and I'm trying to do one of the sample programs in the book. There is a text box bound to a property of an array, and a previous/next button. The book mentions that if there are many controls bound to the same element I do not have to take care...more >>

Binding to DataView.Count Bug?
Posted by JorgenD at 7/7/2004 4:13:02 AM
Hi. When binding to the Count property of a DataView, the bound control is not updated when applying a rowfilter to the DataView. Sample code: dt = new DataTable(); dt.Columns.Add("Val",typeof(int)); DataRow row; row = dt.NewRow(); row["Val"]=1; dt.Rows.Add(row); row = dt.NewRo...more >>

Howto discard changes and revert?
Posted by Gavin Jacobs at 7/5/2004 6:43:48 PM
I have a form bound to a specific row in a table in a dataset. I am trying to implement Save and Discard buttons. I have the Save button working using the DataRowView.EndEdit method. For the Discard button I call DataRowView.CancelEdit. The changes really are canceled, but the user input is stil...more >>

Update command
Posted by Fish at 7/1/2004 9:40:03 PM
How I can build update command for datasets 1 changed row? *** Sent via Devdex http://www.devdex.com *** Don't just participate in USENET...get rewarded for it!...more >>


DevelopmentNow Blog