how to pass the strMessage (from codebehind to the script) to get the alert message
<p>how to pass the strMessage (from codebehind to  the script) to get the alert message </p>

<p>i.e
if my strmessage from code behind is hi,</p>

<p>then i need</p>

<p>You Have Used already the message : hi</p>

<p>My code...</p>

<pre><code>&lt;script type="text/javascript"&gt;
     var strFileName;

    function alertShowMessage() {
    alert("You Have Used already the message :"+ &lt;%=strFileName %&gt;+ ");
    }
&lt;/script&gt;


datatable dtChkFile =new datatable();
dtChkFile = objutility.GetData("ChkFileName_SMSSent", new object[] {"rahul"}).Tables[0];
         if (dtChkFile.Rows.Count &gt; 0)
         {
             for (int i = 0; i &lt; dtChkFile.Rows.Count; i++)
             {
                  strMessage= dtChkFile.Rows[i]["Message"].To);

             }
         }
</code></pre>
