Hi there. Why would you use an OR mapper like ibatis to load datatables?
On 6/12/07, Nandaka2 <[EMAIL PROTECTED]> wrote:
Hello. I'm new with iBatisNet and C# proggramming here, so please guide me. I'm using iBatis DataMapper 1.6.1 and C# .Net 2.0. I want to ask how to use iBatis with DataGridView in C#. If I assign DataGrid/DataGridView.DataSource with IList QueryForList, I got jumbled column order(i.e: col3, col2, col5, col1, col4) and the result row cant be sorted. If I iterate the list(using for(;;)) and printed it to console, the order is right like in resultMap. But if I'm using the manual way(.Net docs dataAdapter and DataTable) I got it right. Is it possible to get DataTable from iBatis? thank you. Adi Irawan --------------------------------------------------------------------------- Bosan dengan email yang biasa ?? Ayo cobain kirim email diiringi musik dengan bergabung di Music Mail Plasa.com ( http://www.plasa.com/informasi/mm/ ), dijamin kirim email terasa lebih menyenangkan. ---------------------------------------------------------------------------

