i have to list views A,and B
listview B is inside listview A.
i want to pass some parameters from Listview A to Listview开发者_如何转开发 B's ObjectDataSource.
I believe that you mean to say that listview B is nested within A. So you can use data-binding expressions to pass values to nested controls. You may face issue in passing parameters - see this article for work-around.
Here's the article that shows you nesting list views and supplying data by both using data-binding expression as well as using parent control's events in code-behind.
精彩评论