title: I Can not disable button due to error Cannot implicitly convert type string to bool
body: <p>I need to disable search button after some  information is displayed in the grid view.  when i wrote "btnSearch.Enabled="false";" in the grid view button, Cannot implicitly convert type 'string' to 'bool' message will raise may give me solution please ?</p>
  
  <pre><code>protected void gvEmployeeLeaves_SelectedIndexChanged(object sender, EventArgs e)
    {
          btnSearch.Enabled="false";
    }
  </code></pre>