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 > june 2005

DataSets, ReadXML, and XML attributes
Posted by eXtreme at 6/29/2005 11:07:50 PM
How do XML attributes get mapped into the dataset when you load the xml file using .ReadXML? Thanks, ...more >>


DataSet and DataViews
Posted by eXtreme at 6/29/2005 3:26:01 PM
Is it possible to create a dataview on a dataset which combines (concatonates) two columns into one without having to copy the dataset into another dataset? I have two columns that I generally need to be seperate... but I have a need to databind this dataset to a combo box and display a con...more >>

Databinding of 2d-Arrays in a DataGrid
Posted by MichaelGeier at 6/28/2005 5:21:05 AM
Hello, I have a 2d Array say Array* pArray=Array::CreateInstance(__typeof(int),5,4); and want to bind this Array to a DataGrid. DataGrid* pDS=new DataGrid(); pDS->DataSource=pArray; This is not allowed. because a DataGrid supplies only 1d-Arrays. Who knows a workaround? Maybe to wra...more >>

Constraint error when dataset.GetChanges() invoked
Posted by Frnak McKenney at 6/28/2005 12:00:00 AM
I'm running into a puzzling exception when I attempt to update a modified row in a table with a foreign key constraint. System.Data.ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints My ...more >>

what is databinding
Posted by sxljterilsnxngl f via DotNetMonster.com at 6/26/2005 12:02:05 PM
hello: what is databinding? -- Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/winform-data-binding/200506/1...more >>

Datagrid not refreshing current cell
Posted by Jiho Han at 6/24/2005 4:30:13 PM
I have a datagrid whose DataSource is set to a DataView created from a loaded DataSet. I have a filter combobox above the datagrid upon which some value is selected, a new view is created and attached to the datagrid with a different set of RowFilter value. The problem is that whenever I do ...more >>

Bind my own domain classes like a DataSet to GridView in Designer
Posted by Norbert Ruessmann at 6/24/2005 11:43:01 AM
Hello group, I developed some Domain classes , which are NOT a not related to DataSet / DataTable etc. in any way. But they provide similar featurs. A object can for instance contain a collection of Orders, plus a collection of OrderItems. The collection of Orders contains Orders. Each Order...more >>

DataBound Textbox using DataSet and Auto Complete
Posted by eXtreme at 6/19/2005 3:34:18 PM
Does anyone know of a sample application which has a textbox that behaves like the textbox on the start RUN prompt in Windows XP? Specifically I need the textbox to be databound to a dataset and when a user types in a letter I want the textbox to autofill with a word which most closely matc...more >>



master/detail in datagrid - how to avoid choosing relation
Posted by Anders S. Willumsen at 6/18/2005 12:00:00 AM
Hi I have a dataset with 2 table and a datarealation between the tables. When setting a win form datagrid's datasource to the dataset I get a nice picture of the data - including the child data. However I need to click a link right after press the + sign to se the data. The link is the rela...more >>

Programmatically changes in bound controls not updated in bound fi
Posted by Adrian at 6/17/2005 9:59:18 AM
I found out a strange issue in VB.NET 2003 and I am wondering if someone else had the same problem. Everything is done programmatically at run-time. I fill a tableset within a dataset with data from any database (for simplifying I get only one record). I bound a textbox to one of the record's...more >>

databinding to picturebox.image
Posted by Aurin at 6/16/2005 12:19:08 PM
I have a windows form which contains many controls which display a single row from a DataTable. One of the controls is a picturebox. I want to bind the image property of the picturebox to a column in the DataTable such that: If column value = “X” display image1 else display image2 T...more >>

Code for filling datagrid rows one by one
Posted by mf_sina at 6/12/2005 12:00:00 AM
hi! for many times i needed a code for datagrid to show a progressbar while reading data from a database (*.mdb). now i think if my form reads data from database one by one and then puts them in datagrid row by row will solve this idea. because progressbar min is 0 and the max is set to count...more >>

Finding current record in datagrid
Posted by DCraig at 6/10/2005 10:18:51 AM
I'm working on several grids and running into a similar problem with each. The root problem seems to be consistently getting the datarowview from the dataview that correlates with the current row in the grid after a row has been deleted, or if the view has been sorted. The grid is bound to a ...more >>

concurrency violation: The update Command affected 0 records
Posted by mf_sina at 6/9/2005 11:01:05 AM
Hi there, I have a form with some textboxes connected to an access database(*.mdb) now when i add new records or delete a record , the save button works and updates my data. after it when i navigate through records and when i edit a record (not deleting it), vb .net prompts something like: <...more >>

cbo and databinding
Posted by b at 6/9/2005 10:49:56 AM
Anyone out there have a good tut site when one has a combo box acting as the header and then a datagrid linked to the selected results of said combobox.. tia ...more >>

Updating a control when object changes.
Posted by jtwomley at 6/8/2005 6:19:04 PM
I have a control that has a databinding attached to it like so. txtName.DataBindings.Add("Text", nameClass, "Name"); This works great the Name property from nameClass is populated in the txtName field Now I have btnOne. In the click event of btnOne I call nameClass.Name = "SMITH"; At ...more >>

ComboBox Binding
Posted by b at 6/8/2005 8:45:04 AM
Hello all, my first week programming in vb.net and I have a question I have two tables one is the header with 2 columns one PartNum and the other description. I want this to be the header for a datagrid but have yet to get that far yet. The problem I am having right now is when i select the ...more >>

Binding to StatusBarPanel.Text
Posted by Orson Cart at 6/7/2005 1:51:02 PM
How do I bind a datasource to the statusbarpanel.text object, there isn't a databing property...more >>

treeview.selectednode provides information for textbox databinding
Posted by Nathan Guill at 6/7/2005 7:20:38 AM
What I want to do is when a node is selected in a treeview, I want textboxes to display information for the selected record. How do I do this? I can't seem to find anything on this, the closest I find is using datagrids, which I would like to stay away from. Any help would be appreciated. BTW...more >>

bindingContext.AddNew not working with binded Combobox in form
Posted by Jaime at 6/6/2005 9:13:11 PM
Hi All, I have a form with a datagrid, several textboxes and one combobox, representing the detailed of whatever is selected in the datagrid. All the textboxes and combo are binded like: textBox.DataBindings.Add( "text", ds, "field1" ); .... now I have one combobox that is binded like t...more >>

ListView and Bound DataSet
Posted by eXtreme at 6/6/2005 6:47:22 AM
I have a dataset bound listbox with items that I want to give the user the ability to reorder. For some reason... unknown right now... the listbox does not properly update from the dataset when I update the dataset... even after I accept changes and write the dataset out to XML. When I d...more >>

Repeater and xml
Posted by Roshawn Dawson at 6/6/2005 2:18:56 AM
Hi, Forgive me if I'm posting to the wrong newsgroup. How do you bind a nested xml file (which has a namespace in its root node) to a repeater control? I currently load the xml file into an xmldocument and retrieve an xmlnodelist from it like this (code-behind): 'mngr is the name of ...more >>

Display a matrix in a datagrid?
Posted by Bill Cohagan at 6/5/2005 9:35:34 PM
I've got an n x n matrix (of integers) that I'd like to display in a grid. The matrix is actually wrapped in a class. What's the best approach for binding the matrix to the grid? Currently I've implemented the IList interface on my object, exposing the list of n^2 elements as a list, but thi...more >>

How to update a bound control via code
Posted by Mark Farmiloe via .NET 247 at 6/4/2005 7:27:55 AM
I have a bound TextBox control which stores the discount for an= order=2E Next to this is an unbound ComboBox which offers 5%, 10%= or 20% discount=2E When a selection is made via the ComboBox, I= calculate the discount amount and put it into the TextBox's Text= property=2E This does not get...more >>

Combobox databinding problem
Posted by mf_sina at 6/2/2005 9:44:08 AM
Hi! I have a form (form1) and the form has a combobox and a textbox. form1 is already connected to a access database (mydatabase.mdb) textbox is connected to customername datafield and combobox is connected to customercity datafield. i don't have any problem with textbox but combobox show...more >>


DevelopmentNow Blog