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

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


Here is one possible solution:

def bind_customes_to_grid(customer)

  list = Array.new
  list[0] = customer

$gvCustomers.DataSource = list

end
-- 
Posted via http://www.ruby-forum.com/.


More information about the Ironruby-core mailing list