First post so be gentle please. I will probably have a pile more. But a question or two for you lot.

I have a windows application in vb.net that is basically an addressbook. To navigate the contents I have a treeview which, when clicked on the nodes, populates a few textboxes (firstname, surname, zip etc). I want to be able to have a report print depending on which node (record) is chosen. So...questions...

Can I populate a report from a Treeview control? (I'm using reportviewer) Reportviewer works well but has ALL data displayed. How can I filter data from a textbox (say txtFirstName) on my form? Hardcoding a firstname filter gives the correct record but I want it dynamic.

If I can't populate from treeview, can I populate my report depending on what is in the textboxes on the form?

Thanks for any pointers and I look forward to being part of this community.