display datas from database using List box

  i need to diaplay data's in a List box. actuall i don't know coding for List box. if its combox box means i can use collection_select. so can anyonel tell this- urgent

You can use collection_select for this:

collection_select('object', 'method', @panels, :id, :name, {},
{:multiple => 'multiple'})

Also, it is sometimes considered quite rude to post messages with 'urgent' in them (as you have done in your last 3 posts). The response from this group is normally very quick as everyone is happy to help, regardless of urgency on your part.

Steve