RobEmDee Posted March 29, 2003 Posted March 29, 2003 I am getting this Exception thrown when in a Parent/Child DataGrid, the user expands Parent Row (click '+') and there are no Child Rows related to the Parent Row in the Child Table (happens often in my app). Because I am just setting the DataSource for the DataGrid to the Parent Table, I am having trouble figuring out how I can trap this Exception. Any ideas? Quote
*Experts* Nerseus Posted April 1, 2003 *Experts* Posted April 1, 2003 I'm not sure if this will help, but often when I get untrapped errors, it's helpful to look at the Call Stack (under Debug->Windows). When you get the "Break, Continue, End" message box, press Break (or is it continue?) and the code should be highlighted with a Green Line (sorry, don't have .NET with me right now). Now open the Call Stack window. Lines in black are your code, lines in light grey are system calls (windows messages, internal events, etc.). You should also be able to see DataSet events (such as ItemChanged and such) even though they're happening "internal" to a DataSet. You might be able to see what's causing the problem... -Ner Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.