all groups > dotnet windows forms databinding > august 2004 > threads for august 22 - 28, 2004
Filter by week: 1 2 3 4 5
problem with databinding collection to datagrid
Posted by Jeff B at 8/27/2004 12:29:55 PM
Hi
I have a collection that inherits from collectonbase, implements
IBindingList. and is serlizable.
I am binding the collection to a Datagrid using a tablestyle to limit the
data the datagrid displays. I can bind to the collection successfully.
If my collection has one object. When I click on... more >>
Bind collection to grid question
Posted by mbusfield NO[at]SPAM yahoo.com at 8/27/2004 5:29:06 AM
I have a collection of users that i want to bind to a grid.
This works fine if i just set the datasource property of the grid to
my collection.
But, the columns are not in the order i want them and i dont want to
display some of the columns, so for example, if i had the object
'User' as:
id
... more >>
Binding to a dataset created asynchronously
Posted by tim NO[at]SPAM sstechs.com at 8/26/2004 7:41:53 AM
Without to many boring details. What I am trying to do is return a
dataset object from a funtion called asynchronously. Then use that
dataset as the datasource for a datagrid.
Alright here is the boring details anyway just in case you want them.
What I have currently is the function (MergeDa... more >>
datagridboolcolumn
Posted by David Lei at 8/24/2004 5:30:45 PM
Hi,
I have a DataGrid with a DataGridBoolColumn(checkbox) column bind to a
DataSet,
mapping source type is a SQL bit data type. I want to save the
changes(checked or unchecked)
to the database.
My problem is the DataGridBoolColumn does not seem to save the "1" or "0"
value to
the DataSet... more >>
ItemChanged event does not fire
Posted by William Robinson at 8/22/2004 8:27:01 AM
I've done the example in "Microsoft Knowledge Base Article - 312045" exactly
as printed - except for changing the connection string - and the code in the
handler for the ItemChanged event never runs. The code connects to the
database, binds to the controls, and navigates properly. Everything... more >>
|