lrafalko

lrafalko

  • NA
  • 1
  • 0

Setting up a data relation

Jul 1 2004 11:09 AM
I'm new to C# and I'm trying to set up a data relation between a parent and child from an XML data source. I need to find a better explanation of how it is used. Any one know of a good web page or book for an explanation? Anyway, this is my specific question: My xml sheet (paraphrased) looks like this: ----------------------------- ABI/Inform Global 0 ... ... ------------------------------ The 'categories' table is a nested table and I want to be able to add and update the categories table in the dataset when the 'database' table is edited or updated. So I have to set up a relation: objRelation = New DataRelation("SOMENAMEHERE", objDataSet.Tables["database"].Columns["WHATGOESHERE?"], objDataSet.Tables["categories"].Columns["WHATGOESHERE?"]) So, this is my question: Based on the XML sheet above, what is supposed to go where it says "WHATGOESHERE?"? And why? I know, it's a beginner question, right, but I'm a beginner. -LJ

Answers (1)