[Ironruby-core] Converting an Object to Collection to Bind to DataGridView

Mohammad Azam lists at ruby-forum.com
Wed Jun 17 18:32:00 EDT 2009


Hi,

I have the following code which I am using to bind an object to the
Window Forms dataGridView control:


def bind_customes_to_grid(customer)


$gvCustomers.DataSource = customer

end

Now, I need to convert the customer into a collection so it can be
binding to the DataGridview control. How can I do that?
-- 
Posted via http://www.ruby-forum.com/.


More information about the Ironruby-core mailing list