0

I have a usercontrol that contains a listview. Inside this listview I set the listvidew.itemsource = table. Then I create a gridview and add the gridview to the listview.view = gridview. This is all done in code behind and then the user control is added to a stackpanel in code behind as well. All this is done in code behind because I'm generating different grids in the app based on conditions.

Now I have a button on the page that I want to use to pull out the data from each cell(textbox) in the tables after the user has entered in info. I created a button called Test_OnClick that calls the event method - private void Test_OnClick(object sender, RoutedEventArgs e)

What do I now need to do to get the data from the table in each usercontrol?

4

0 回答 0