title: Setting DataTable primary key
body: <pre><code>objDataTable.Columns.Add("Student Id", typeof(int));
  objDataTable.PrimaryKey = "Student Id";
  </code></pre>
  
  <p>am already tried many ways but i can't</p>
  
  <p>in c# how to set primary key to this line , friends please help</p>
  
  <p>thanks in Advance</p>