please check here to work with connected webpart
if i understood correctly once you filter the data then you need to insert the filter details to the list .
once you have data in consumer webpart you work with that to store that data into list using object model.
MCTS,MCPD Sharepoint 2010. My Blog-
If a post answers your question, please click "Propose As Answer" on that post and "Vote as Helpful
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?