On Wed, Dec 3, 2008 at 2:27 PM, Jimmy Schementi
<[EMAIL PROTECTED]> wrote:
> http://www.codeplex.com/sdlsdk/WorkItem/View.aspx?WorkItemId=11844
>
> Agreed that it needs to be done. Feel free to make the first couple stabs at
> it, but it is a hard problem, so not sure if you have time for it. I'm
PM
> To: Discussion of IronPython
> Subject: [IronPython] Data Binding with DLR Languages
>
> I'm posting this here, for lack of a better place, but anyone using
> dynamic languages on silverlight, really feels the lack of support for
> ICustomTypeDescriptor in data binding
I'm posting this here, for lack of a better place, but anyone using
dynamic languages on silverlight, really feels the lack of support for
ICustomTypeDescriptor in data binding (i.e. there isn't any) Just
trying to raise awareness of this *cough* Jimmy *cough*
-Dan
P.S. Harry Pierson wrote a grea
On 12/7/06, Dave Fugate <[EMAIL PROTECTED]> wrote:
OK, I've now recreated your sample in C# and found it basically works.
I just commented out the calls to Columns.Add(…) and changed the ages
from integers to strings just to be on the safe side.
On a hunch, I redefined "people" in your ori
f Of Patrick O'Brien
Sent: Thursday, December 07, 2006 9:35 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Data binding - how?
On 12/6/06, Dave Fugate <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
I looked into trying to replace the Python class full of properties wi
On 12/6/06, Dino Viehland <[EMAIL PROTECTED]> wrote:
But the DataGridView doesn't seem to be looking at the individual items.
Feel free to open a bug on this and please include the repros you had
before.
Thanks. I filed a bug report at
http://www.codeplex.com/IronPython/WorkItem/View.aspx?W
On 12/6/06, Dave Fugate <[EMAIL PROTECTED]> wrote:
I looked into trying to replace the Python class full of properties with
a list full of tuples. That is, doing something similar to:
#...
data = [
('Joe', 23),
('Bob', 8),
('Thomas', 32)
p://www.vbdotnetforums.com/showthread.php?t=14657.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dino Viehland
Sent: Wednesday, December 06, 2006 5:43 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Data binding - how?
As far as I can tell the issue here seems to be that t
sender, *args):
print self, sender, args
for x in self.grid.Columns: print x
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick O'Brien
Sent: Wednesday, December 06, 2006 1:48 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Data binding - how?
On 12/3/
On 12/3/06, Luis M. González <[EMAIL PROTECTED]> wrote:
I guess the problem is in the properties you defined in "Person".
I tried this script, but importing "Person" from an assembly writen in C#,
and it worked.
So I assume that python properties are not recognized as .Net properties,
and they
I guess the problem is in the properties you defined in "Person".
I tried this script, but importing "Person" from an assembly writen in C#, and
it worked.
So I assume that python properties are not recognized as .Net properties, and
they are needed to create the columns of the datagridview cont
On 12/3/06, Sanghyeon Seo <[EMAIL PROTECTED]> wrote:
2006/12/3, Patrick O'Brien <[EMAIL PROTECTED]>:
> For the life of me I can't successfully bind a list of class instances
to a
> data grid view. I get the grid, with the correct column headers and
correct
> number of rows, but the cells are al
On 12/3/06, Sanghyeon Seo <[EMAIL PROTECTED]> wrote:
2006/12/3, Patrick O'Brien <[EMAIL PROTECTED]>:
> For the life of me I can't successfully bind a list of class instances
to a
> data grid view. I get the grid, with the correct column headers and
correct
> number of rows, but the cells are al
2006/12/3, Patrick O'Brien <[EMAIL PROTECTED]>:
> For the life of me I can't successfully bind a list of class instances to a
> data grid view. I get the grid, with the correct column headers and correct
> number of rows, but the cells are all empty. Below is my most sophisticated
> attempt. Any
2006/12/3, Patrick O'Brien <[EMAIL PROTECTED]>:
> For the life of me I can't successfully bind a list of class instances to a
> data grid view. I get the grid, with the correct column headers and correct
> number of rows, but the cells are all empty. Below is my most sophisticated
> attempt. Any
For the life of me I can't successfully bind a list of class instances to a
data grid view. I get the grid, with the correct column headers and correct
number of rows, but the cells are all empty. Below is my most sophisticated
attempt. Any pointers would be greatly appreciated.
import clr
im
jeff sacksteder wrote:
> Another tutorial opportunity for Michael.
>
It's on the list, of course I'll have to learn about it first. :-)
Luckily I work with some very talented folk...
Michael
http://www.voidspace.org.uk/python/index.shtml
> I have a DataGridView control containing data that needs
You have to save your my_DA somewhere.
> dataConn = OleDbConnection('provider=microsoft.jet.oledb.4.0;data
> source=cheeseshop.mdb ;')
> cheese_sql = 'select * from cheese'
> my_DA = OleDbDataAdapter(cheese_sql,dataConn)
> my_DS = DataSet()
> my_DA.Fill(my_dsDS,'ds_cheese')
> my_BS = Forms.Binding
Let me show a more specific example. How does the saveChanges method find a reference to the correct DataAdapter to call Update() upon?dataConn = OleDbConnection('provider=microsoft.jet.oledb.4.0;data source=cheeseshop.mdb
;')cheese_sql = 'select * from cheese'my_DA = OleDbDataAdapter(cheese_sql,da
> So how do I propagate my changes back, then?
Hmm.
DataSet dataSet; DataAdapter adapter;
// configuring the adapter
adapter.Fill (dataSet, "table1");
dataGridView1.DataSource = dataSet;
dataGridView1.DataMember = "table1";
// changes to the datagridview
adapter.Update (dataSet, "table1");
__
So how do I propagate my changes back, then?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> Assuming I have a reference to the specific control, how do I find the
> related DataAdapter ?
There is no way to find the DataAdapter... just because you can use more
than one DataAdapter to fill the DataSet/DataTable, e.g while merging
two databases or migrating or smth else.
__
Another tutorial opportunity for Michael.I have a DataGridView control containing data that needs to be flushed back into the original data source. I believe the following to be true:The DataGridView control is bound to the DataSet Object, which is bound to the DataAdapter, which connects to the Da
23 matches
Mail list logo