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 8 - 14, 2005

Filter by week: 1 2 3 4 5

Binding enum to ComboBox
Posted by kh at 1/14/2005 2:07:01 AM
Hi. I have a type that I am binding to a form. One of the properties is an enum and I want the user to be able to select the value from a ComboBox. I am trying to do this using inbuilt data binding rather than coding up the plumbing to change the property value myself. Basically, I want to bin...more >>

Is this normal?
Posted by Ă–zden Irmak at 1/12/2005 5:03:56 PM
Hi, I have some simple dataentry screens, textboxes are bound into a datasource. I connect to Sql Server 2000. When the user wants to add a new record, I call "AddNew()" method of bindingcontext but it gives me an error saying "CustomerId cannot be null value". This field is int and does n...more >>

Implementing a find nearest
Posted by James Sugrue at 1/12/2005 4:02:57 PM
I have a form which is the result of using the Data Form Wizard. I have added a text box which allows the user to search for a record and go for the nearest record. For example if the user where searching for product name and typed "W" it would go to the first record that starts with W. Whe...more >>

DataSet still accepts invalid Date after Cancel during TextBox Validating
Posted by Don Fisher at 1/12/2005 3:59:52 PM
Using VB.NET, I have a TextBox bound to a Dataset's DateTime Column. I've added Parse and Format handlers to the binding, and have added code to the TextBox Validating Event. During validating, the Date entered is checked for its Year and, if too old, e.Cancel is set to True. However, even when ...more >>

after fill the form doesnt show the data
Posted by Andreas at 1/11/2005 1:37:01 AM
we have a form with a lot of controls ( 30 controls ) which are bound to a dataset. to reduce network traffic we load the data from the database line by line. Example: dataSet.dataTable.Clear(); dataAdpater.SelectCommand.Parameters["ID"].Value = CurrentID; dataAdapter.Fill( dataset ); aft...more >>

Data checking during databinding
Posted by EMW at 1/10/2005 2:53:03 AM
Hi, Is it possible to check the data just before it is bound to a datagrid? I.e. I have a large table of numbers which I bind to a datagrid. What I want to do is to check for each cell what the value of the number is and do something to the color of that cell if that value is lower, inbetwee...more >>

filter expression with date AND TIME
Posted by MajorTom at 1/9/2005 12:15:21 PM
Hello everybody I using an dataview rowfilter expression to filter some record from one dataset, is I only working with the date portion no problem, but how do I use the date and the time for filter some records ? the code that I have is like this one: crit1 = "fecha >= #"+dtpDesde.Value.To...more >>



DevelopmentNow Blog