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 > january 2005 > threads for january 22 - 28, 2005

Filter by week: 1 2 3 4 5

Databinding with Listbox control
Posted by Jay Esguerra at 1/26/2005 12:46:40 PM
What is the easiest way to bind a dataset to a listbox control and assign the selectedValue & selectedText to the fields associated with my dataset. Any ideas or examples? i.e.: lstUsers.SelectedValue = ds.Tables[0].Rows[i]["userID"] lstUsers.SelectedValue = ds.Tables[0].Rows[i]["username...more >>

Trapping Datagrid Error Message
Posted by Paul J. Lay at 1/25/2005 11:25:31 AM
BlankI have a WinForm app that uses a datagrid which is bound to a .Net = dataset. After data is entered incorrectly into one of the datagrid = cells and the update button on the form is selected, I get an embedded = message box displaying the error, e.g. "Error when committing row to the = ori...more >>

Good Practice on ListBox
Posted by Hemang Shah at 1/24/2005 5:31:58 PM
Greetings I want to display a listbox on the form which will include two columns from the data table" FirstName" & "LastName" What I've done now, is modify the DataAdapter to include two additional colums as: [FirstName] + " " +[LastName] As NameFN [LastName] + " " +[FirstName] AS Name...more >>

Deep databinding - constructing datagrid on the fly
Posted by Duncan M Gunn at 1/24/2005 10:09:24 AM
Hi, I would like to bind the following data structure to a datagrid: List of RowObjects = DataSource | |* RowObject | |* ColObject (Fields = Name, Value) I would like the elements of ColObject to display as the columns of the grid, ...more >>



DevelopmentNow Blog