title: How To Change DataRow Value?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6885087/unable-to-change-datarow-value">Unable to change DataRow value</a>  </p>
  </blockquote>
  
  
  
  <p>I have the  <code>Two-dimensional datarow array</code> like this</p>
  
  <pre><code>Datarow Mydatarow [][] = new Datarow[5][5] ;
  </code></pre>
  
  <p>and initial <code>Mydatarow</code> form database ... 
  Now I Want to do this code  and change <code>Mydatarow</code> value</p>
  
  <pre><code>Mydatarow [Index][i].ItemArray[3]= "S";
  </code></pre>
  
  <p>I use This Code to change <code>Mydatarowvalue</code> But it dos'nt work</p>
  
  <pre><code>Mydatarow [Index][i].BeginEdit();
  Mydatarow [Index][i].SetModified();
  Mydatarow [Index][i].ItemArray[3]= "S";
  Mydatarow [Index][i].EndEdit(); 
  Mydatarow [Index][i].AcceptChanges();
  </code></pre>
  
  <p>please help me to change datarow value</p>