title: GridView1.Attributes.Remove("DeleteRecord")
body: <p>what is meaning of this code:</p>
  
  <pre><code>GridView1.Attributes.Remove("DeleteRecord");
  </code></pre>
  
  <p>or</p>
  
  <pre><code>GridView1.Attributes.Remove("onrowcommand");
  </code></pre>
  
  <p>or</p>
  
  <pre><code>GridView1.Attributes.Remove("UpdateRecord");
  </code></pre>
  
  <p>In other words, I want to disable insert, edit and delete method of a gridview in runtime and come to this code but it does not react.
  do you have any other offer?</p>