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 > october 2006 > threads for october 15 - 21, 2006

Filter by week: 1 2 3 4 5

bound combobox default value
Posted by Chuck P at 10/20/2006 7:36:01 AM
I have a combobox (DropDownList style) that I filled with objects that have two properites Display and Value. The combobox is bound to a binding source this.cbxStaff.DataBindings.Add("SelectedValue", this.intakesBindingSource, "StaffID"); In the form load I have ComboBox_Load<int>(cbxS...more >>


current value
Posted by Paulo Silva at 10/19/2006 9:24:51 PM
I have one BindSource, one table adapter and one GridView. Everthing is working fine, my doubt is: How to read the values of the current row, for example, the row that is selected on a gridview or on a bindingnavigator? tanks ...more >>

Selected GridViewRow isn't "Clicked"
Posted by Ross Culver at 10/18/2006 5:19:59 PM
I have a databound datagridview (VS2K5) with hundreds of rows. I'm trying to allow users to search for a given row and once selected the fields at the top of the form will populate with the rows records. This works fine when you click the gridview rows manually and I can easily programmati...more >>

Binding a DataGridViewComboBoxColumn
Posted by mordock32 NO[at]SPAM hotmail.com at 10/18/2006 2:03:43 PM
What I want to do is pull a list of name/value pairs from a database and populate the display and value members of a DataGridViewComboBoxColumn with it. However, I also want to bind the DataGridView as a whole to another query from the database, which would set the selected item for the combo bo...more >>

DataGridView_CellLeave() strange behaviour
Posted by archana at 10/18/2006 12:33:08 PM
i want to edit my previous post to give u clear clue about my problem. i am having datagridview in my windows form(vb.net 2.0),i am inserting the data(records)in the cells of the datagridview. After finishing the insertion of data into the rows of datagridview ,i finally want to save the all row...more >>

DataGridView_CellLeave
Posted by archana at 10/18/2006 5:04:10 AM
i am using datagridview in my project and try to retrieve the value of the selected row on cell leave.but it gives me null value of the cell of the selected row even though i have value in my cell.i could not find out the solution. please suggest me and suggest where my code is going wrong. ...more >>

Catch Retrieve ( each Row )
Posted by Marcus Kraus at 10/17/2006 4:08:39 PM
Hi there, again a newbie question but again, I uses PowerBuilder from Sybase and with this tool we could handle a RetrieveRow event which was triggerd for each Row loaded from the Database... Can U somehow do this with ADO and C#... So i can Display a Statubar with information like "Loading...more >>

BindingSource.EndEdit() doesn't change rowstate
Posted by Muskito at 10/17/2006 12:21:41 PM
Hi, VB.NET 2.0, Visual Studio 2005, Form Data Bindings I'm using a Typed dataset with several tables on my form, and also using a BindingSource Object to bind the controls on the form to it. The Typed dataset is used as a datasource and a table from the Typed DS is used as a DataMember. ...more >>



Mixing automatic and custom error notifications...
Posted by Nathan Baulch at 10/17/2006 12:39:54 AM
I need to mix automatic (ErrorProvider.DataSource) and custom = (Control.Validating) error notification on my form. Unfortunately it doesn't look like they work together properly. In the minimal example below, I want to be notified if either txtString = is empty (custom error) or txtInteger does...more >>

Data Column Expressions
Posted by AnikSol at 10/17/2006 12:31:37 AM
Hi, In VB 2005, using SQL server 2005 I have a typed dataset. One of the tableadpaters, I have created a datacolumn with datatype as string and set the expression as follows: iif(Typeid = 1, [datecolumnx],[int columny]) .... Typeid -- is the field who value is being evaluated and true part...more >>

How can I databind to this property?
Posted by John Faris at 10/16/2006 9:15:18 PM
I have created a class DelimitedList<T> which inherits from BindingList<T>. I also have a custom business object that has a property defined as type DelimitedList<int>. I then created a UserControl that has a property of this same type. I added the following attribute to this property. [B...more >>

Filtered/sorted Datagrid
Posted by s26f84 NO[at]SPAM gmail.com at 10/15/2006 1:12:09 PM
Hey Guys Alot of articles and alot of stuff still no answer. Please help me on this one. I need to get data out of a filterred selected row !!! ... this is how my code looks like.... On load: dv = SearchData.DefaultView; if (SearchData.Rows.Count >= 1) { grd.DataSource = dv; ...more >>


DevelopmentNow Blog