passing a string parameter when calling a method in asp.net
<p>I have this method in cs page:</p>

<pre><code>public String getToolTip(Object productId, Object imgBtnId)
{
    return UtilsStatic.getWishListButtonToolTip(Int32.Parse(productId.ToString()), getCumparaturiCategoryID(imgBtnId.ToString()));
}
</code></pre>

<p>and i want to call it from asp.net page (aspx).</p>

<p>I tried like this but it fails:</p>

<pre><code> ToolTip="&lt;%# getToolTip(getProductIdNoutatiFeatured(), 'imgBtnWishSubcategory2Featured')%&gt;"/&gt;
</code></pre>

<p>Please note that the second parameter is an hardcoded string...but it says: </p>

<blockquote>
  <p>CS1012: Too many characters in character literal</p>
</blockquote>

<p>I think it is wrong to put the string between ' '. But how?</p>
