RE: Ilist and DataGrid

2006-06-30 Thread Dorin Manoli
  Is there a way to map data direct to a DataSet? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 30, 2006 11:52 AM To: user-cs@ibatis.apache.org Subject: RE: Ilist and DataGrid   Ibatis takes care of mapping you results to objects which you databind your

RE: Ilist and DataGrid

2006-06-30 Thread Dorin Manoli
That the problem is . the fields are not displayed in order of my select statement..   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 30, 2006 11:52 AM To: user-cs@ibatis.apache.org Subject: RE: Ilist and DataGrid   Ibatis takes care of mapping you resul

RE: Ilist and DataGrid

2006-06-30 Thread Oddur Snær Magnússon
Ibatis takes care of mapping you results to objects which you databind your grid to. The class properties/fields have no idea about the order in which they should be displayed, unlike when you are binding to a dataset, where the fields are in a specific order( the order of columns in your

Re: Ilist and DataGrid

2006-06-30 Thread Uwe Lesta
Dorin Manoli wrote: Ok:) then it make sense. The parameters in mapped class are exactly in the same order as in SQL statement. Strange. How Ibatis map table columns to resultmap? Hmm, I'll hope someone else can answer this question. -- Kind regards Uwe Lesta at SBS-Softwaresysteme.de

RE: Ilist and DataGrid

2006-06-30 Thread Dorin Manoli
Ok:) then it make sense. The parameters in mapped class are exactly in the same order as in SQL statement. Strange. How Ibatis map table columns to resultmap? -Original Message- From: Uwe Lesta [mailto:[EMAIL PROTECTED] Sent: Friday, June 30, 2006 11:27 AM To: user-cs@ibatis.apache.org

Re: Ilist and DataGrid

2006-06-30 Thread Uwe Lesta
Dorin Manoli wrote: There is no Parameter class , it is a simple select. Without any parameter. sorry, i mean the class associated to the resultMap. -- Kind regards Uwe Lesta at SBS-Softwaresysteme.de

Re: Ilist and DataGrid

2006-06-30 Thread Uwe Lesta
Dorin Manoli wrote: There is no Parameter class , it is a simple select. Without any parameter. sorry, i mean the class associated to the resultMap. -- Kind regards Uwe Lesta at SBS-Softwaresysteme.de

RE: Ilist and DataGrid

2006-06-30 Thread Dorin Manoli
There is no Parameter class , it is a simple select. Without any parameter. -Original Message- From: Uwe Lesta [mailto:[EMAIL PROTECTED] Sent: Friday, June 30, 2006 10:14 AM To: user-cs@ibatis.apache.org Subject: Re: Ilist and DataGrid Dorin Manoli wrote: > Hi. Does anyone use iBatis

Re: Ilist and DataGrid

2006-06-30 Thread Uwe Lesta
Dorin Manoli wrote: Hi. Does anyone use iBatis in .Net Windows applications? I putted the šIList in DataGrid and it display data improper. It sorts the columns as not in select statement Ex. I have šselect id, name, lastName from people šIn DataGrid results are displayed , lastName

Ilist and DataGrid

2006-06-30 Thread Dorin Manoli
Hi. Does anyone use iBatis in .Net Windows applications? I putted the  IList in DataGrid and it display data improper.   It sorts the columns as not in select statement   Ex. I have  select id, name, lastName from people  In DataGrid results are displayed , lastName, id, name   Do