Groups | Blog | Home


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 > november 2004 > threads for november 1 - 7, 2004

Filter by week: 1 2 3 4 5

Binding problems when RowFilter returns zero records
Posted by anthonyp NO[at]SPAM dslextreme.com at 11/6/2004 6:30:28 PM
The following thread from May, 2003, describes the problem I am seeing: http://groups.google.com/groups?hl=en&lr=&threadm=2d9301c323fb%24fdc22b30%24a301280a%40phx.gbl&rnum=4&prev=/groups%3Fq%3Drowfilter%2Bno%2Brows%26hl%3Den%26lr%3D%26group%3Dmicrosoft.public.dotnet.framework.windowsforms.databi...more >>


Databinding Wishlist
Posted by David Kelly at 11/5/2004 9:45:52 AM
Rather than complaining to myself about this I thought I should put it out there and see if others agree with me (or can point out ways it can already be done). Two things I would love to see data binding support are: COMPILER CHECKED BINDING To be able to bind a properties in a...more >>

Datagrid Combobox column datasource problem
Posted by Srikanth at 11/4/2004 3:51:20 PM
Hi, I am trying to set the datasource for a Combobox column of a Datagrid to a relationship of a Datatable: this.GoodsColumn.ColumnComboBox.DataSource = voyageDataset1.tblConsignment.DefaultView; this.GoodsColumn.ColumnComboBox.DisplayMember = "tblConsignmenttblGoods.strGoodsDesc1"; thi...more >>

Sorting of DataTable
Posted by Sebastiaan Olijerhoek at 11/4/2004 2:39:41 PM
When sorting a DataTable with DataTable.DefaultView.Sort then the table seems to be sorted when looking at with a DataGrid, however when using the table in the code through DataTable.Rows[] the rows are not sorted. Is there a way to access the DataTable in the code with its rows sorted? Kind r...more >>

DateTimePicker Checked-property question
Posted by Mika M at 11/4/2004 2:30:23 PM
Hi! I have bound DateTimePicker to the DataSet DataTable's field like... dtpMyDateTime.DataBindings.Add(New Binding("Text", dt, "MyDateTimeField")) ....and ShowCheckBox-property = True Saving date into database table using DateTimePicker is working fine, but I assumed when Checked-box ...more >>

Dataset designer problems
Posted by Donald Stump at 11/4/2004 12:03:21 PM
I have been using VB.NET for 2 years and have completed many applications. Recently I have experienced problems using the dataset designer and at this point I cannot use it at all. It began when I added a column to a table in the dataset designer and when I returned to the windows desig...more >>

Winforms FAQ Datagrid Combo?
Posted by James Goodman at 11/3/2004 5:44:43 PM
I have used this example to embed a bound combo within a datagrid. It works very well, but with one exception. If the user selects a value from the list, the selected value is not actually shown until the control loses the focus. It always displays the previous, or first entry in the list....more >>

Databinding array as property to datagrid
Posted by Erez - Bgumail at 11/3/2004 11:21:46 AM
Hi all, i have a class(lets say class "a" ) that one of its members is array (not array list) of class "b" (the other members are simple like int,string ect..). when i binding class a to datagrid all the simple members are ok, but the array member is not bound. If i change it to ArrayList it i...more >>



Binding to a property in a User Control
Posted by Brett Zimmerman at 11/3/2004 4:34:02 AM
Hi All, I have a custom control derived from TextBox (could be any control though) with a property that I want to bind a database row to. E.g. public class TestTextBox : System.Windows.Forms.TextBox { private object m_NullableValue = DBNull.Value; public TestTextBo...more >>

Datagrid individual cell colors
Posted by Alejandro González Anselmi at 11/2/2004 6:42:33 PM
Hi! I have a datagrid in a windows form I want to show some customized format, like background color, etc for some cells depending on the value of the cell or other cells of the row, etc I have derived from the DataGridTextBoxColumn object I have override all 3 paint methods and it works fine ...more >>

When does setting the Position of a BindingManager not work?
Posted by George at 11/2/2004 5:22:45 PM
I have a situation in which some in a DataSet that is bound to a (non-MS) grid and into individual controls. The grid is readonly and used for navigation only. When a row in the grid is selected I set the Position property of the form's BindingManagerBase (from Me.BindingContext) to the correct ...more >>

Textbox and DataRow Status Problem
Posted by DaStuffedProgramma at 11/2/2004 12:30:04 PM
Hi DotNetterians ! I have come across a behavior of the databinding functionality that I cannot understand. I have a simple Windows Form with a textbox an a programmatically created DataSet in the background that contains only one Datarow with some test Fields f1,f2 of type string. The te...more >>

Notify binding on changed data (ICustomTypeDescriptor and PropertyDescriptor)
Posted by Piotrek at 11/1/2004 11:40:57 AM
Good morning, happy haloween Explainations: I have a collection (that implements arraylist) of custom objects (lets call them A) Each A object has an indexed property, lets say A.PROPX(0) et A.PROPX(1) Each A object implents System.ComponentModel.ICustomTypeDescriptor to provide custom...more >>

Databinding two controls together - works?
Posted by BBM at 11/1/2004 7:58:04 AM
Why doesn't this work? Very simple code... nvl.BindableList is an ArrayList of "NameValue" objects Name and Value are object properties of the NameValue objects cbxDesType is a combo-box tbxDesTypeCode is a textbox private void frmDesTypeTest_Load(object sender, System.EventArgs e) { ...more >>


DevelopmentNow Blog