title: Rowdeleting on my string ID
body: <p>I have this <code>gv_Storagepricing_RowDeleting</code> method</p>
  
  <pre><code>protected void gv_Storagepricing_RowDeleting(object sender, GridViewDeleteEventArgs e)
  {
      string result = null;
      storageprice ss = new storageprice();
      string categoryID = gv_Storagepricing.DataKeys[e.RowIndex].Value.ToString();
      result = ss.StoragePricingDelete(categoryID);
  }
  </code></pre>
  
  <p>this is the code of <code>StoragePricingDelete</code> method</p>
  
  <pre><code>public string StoragePricingDelete(string ID)
  {
      string queryStr = "DELETE FROM StoragePricing WHERE Pricing_ID = @ID";
      SqlConnection conn = new SqlConnection(connStr);
      SqlCommand cmd = new SqlCommand(queryStr, conn);
      cmd.Parameters.AddWithValue("@ID", ID);
      conn.Open();
      int nofRow = 0;
      nofRow = cmd.ExecuteNonQuery();
      conn.Close();
      return nofRow;
  }
  </code></pre>
  
  <p>The error states</p>
  
  <blockquote>
    <p>Cannot implicitly convert type 'int' to 'string'</p>
  </blockquote>
  
  <p>I'm really new to this.</p>