G
Guest
Was wondering if it is possible to take the contents of a row in a datagrid
and use an event to copy over the details of the selected row into another
datagrid. I'd like to be able to do the following: -
I have a datagrid on my page which comes back as follows. The addresses are
in a column which is databound. I would like to create an event on the
on-click of the select link (located in the datagrid). On this event I would
like to add the selected row to my arraylist address and then add them to the
2nd Datagrid.
Is this possible and if so could someone please show me where abouts I put
the code to do this and also how populate the second datagrid. Thanks for any
help you can give me.
DATAGRID1
Address
Databound Select
Databound Select
Databound Select
DATAGRID2
Address1 Address2 Address3 Address4 Address5
Arrayitem Arrayitem Arrayitem Arrayitem Arrayitem
etc, etc....
and use an event to copy over the details of the selected row into another
datagrid. I'd like to be able to do the following: -
I have a datagrid on my page which comes back as follows. The addresses are
in a column which is databound. I would like to create an event on the
on-click of the select link (located in the datagrid). On this event I would
like to add the selected row to my arraylist address and then add them to the
2nd Datagrid.
Is this possible and if so could someone please show me where abouts I put
the code to do this and also how populate the second datagrid. Thanks for any
help you can give me.
DATAGRID1
Address
Databound Select
Databound Select
Databound Select
DATAGRID2
Address1 Address2 Address3 Address4 Address5
Arrayitem Arrayitem Arrayitem Arrayitem Arrayitem
etc, etc....