C# DATASET RELATIONS
<p>I have two table </p>

<pre><code>Parent Table STUDENT ====&gt; ID,NAME                 SqlCommand==&gt;Select * from Student
Child  Table Lessons ====&gt; ID,STUDENTID,LESSON     SqlCommand==&gt;Select * from Lessons
</code></pre>

<p>I create DataRelation for two table with ID and StudentId</p>

<p>I add 2 datagridview to my form.</p>

<p>First Table <code>DataSource=Dataset.Relations[0].ParentTable;</code></p>

<p>Second Table <code>DataSource=Dataset.Relations[0].ChildTable;</code></p>

<p>its not working like relational.How can I MAke child table StudentId defaultvalue parent table ID value</p>
