Auto Update of a ListView from a DataSet This is part WPF and part DataSet question.  I want to be able to use the built-in 'notification' of a change in a DataSet to update the bound ListView.  It is not working, and I think I know why, but I don't really know enough to fix it.<br><br>My DataSet has several table that are a one-to-one mapping of the data tables in the SQL database.  The data table that is bound to my ListView is populated though a Relation that effectively filters the results based on a previous selection.  (The initialation code for the from that contains the ListView calls GetChildRows using the relation to populate the table.)<br><br>If after I add a row to my DataSet and then call GetChildRows again, then I see the new row.<br><br>It appears that the auto update notification does not force a call through GetChildRows, which I guess is not a surprise.<br><br>What I need to know is how to do the equivalent of the Relation in such a way that auto update notification to the ListView will work.<br><br>Thanks© 2009 Microsoft Corporation. All rights reserved.Thu, 19 Jun 2008 00:15:52 Z279f036a-486b-492b-9223-1d7dcfcf570bhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/279f036a-486b-492b-9223-1d7dcfcf570b#279f036a-486b-492b-9223-1d7dcfcf570bhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/279f036a-486b-492b-9223-1d7dcfcf570b#279f036a-486b-492b-9223-1d7dcfcf570bRoy in Acworthhttp://social.msdn.microsoft.com/Profile/en-US/?user=Roy%20in%20AcworthAuto Update of a ListView from a DataSet This is part WPF and part DataSet question.  I want to be able to use the built-in 'notification' of a change in a DataSet to update the bound ListView.  It is not working, and I think I know why, but I don't really know enough to fix it.<br><br>My DataSet has several table that are a one-to-one mapping of the data tables in the SQL database.  The data table that is bound to my ListView is populated though a Relation that effectively filters the results based on a previous selection.  (The initialation code for the from that contains the ListView calls GetChildRows using the relation to populate the table.)<br><br>If after I add a row to my DataSet and then call GetChildRows again, then I see the new row.<br><br>It appears that the auto update notification does not force a call through GetChildRows, which I guess is not a surprise.<br><br>What I need to know is how to do the equivalent of the Relation in such a way that auto update notification to the ListView will work.<br><br>ThanksMon, 09 Jun 2008 15:41:04 Z2008-06-09T15:41:04Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/279f036a-486b-492b-9223-1d7dcfcf570b#3b38126d-8bd3-450e-ad95-56e82028ff1ehttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/279f036a-486b-492b-9223-1d7dcfcf570b#3b38126d-8bd3-450e-ad95-56e82028ff1eMarco Zhouhttp://social.msdn.microsoft.com/Profile/en-US/?user=Marco%20ZhouAuto Update of a ListView from a DataSet <p style="margin:0in;font-family:Verdana;font-size:10pt">Could you please provide a small, complete and ready-to-run example to help us understand the issue you are encountering?</p><br><p style="margin:0in;font-family:Verdana;font-size:10pt">Thanks<br></p> Wed, 11 Jun 2008 04:35:35 Z2008-06-11T04:35:35Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/279f036a-486b-492b-9223-1d7dcfcf570b#895f5ef9-c8e9-4234-90de-c4a48a997335http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/279f036a-486b-492b-9223-1d7dcfcf570b#895f5ef9-c8e9-4234-90de-c4a48a997335Roy in Acworthhttp://social.msdn.microsoft.com/Profile/en-US/?user=Roy%20in%20AcworthAuto Update of a ListView from a DataSet I sould be able to create one today.  Do I email it to you or post it somewhere?Wed, 11 Jun 2008 12:19:11 Z2008-06-11T12:19:11Zhttp://social.msdn.microsoft.com/Forums/en-US/wpf/thread/279f036a-486b-492b-9223-1d7dcfcf570b#f546bfad-b816-47f2-8238-00d77b519e02http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/279f036a-486b-492b-9223-1d7dcfcf570b#f546bfad-b816-47f2-8238-00d77b519e02Marco Zhouhttp://social.msdn.microsoft.com/Profile/en-US/?user=Marco%20ZhouAuto Update of a ListView from a DataSetWell, you could send it to me at v-mazho at microsoft dot com.<br><br>Thanks<br> Thu, 12 Jun 2008 03:30:52 Z2008-06-12T03:30:52Z