DataKey names in Form view
<p>How to access dataKey values</p>

<pre><code> &lt;asp:FormView ID="FormView1" runat="server"  Style="margin-right: 65px"
   DataKeyNames="MMBProfileID"
&lt;ItemTemplate&gt;
        &lt;table id="FormViewTable" style="width: 100%;"&gt;
            &lt;tr&gt;
                &lt;td&gt;
                    Name:
                &lt;/td&gt;
                &lt;td&gt;
                    &lt;%# Eval("MMB_Name") %&gt;
                &lt;/td&gt;
</code></pre>

<p></p>

<pre><code> protected void Page_Load(object sender, EventArgs e)
{
  MMBProfileId = Convert.ToInt32(FormView1.DataKey["MMBProfileID"]);
 FormView1.DataSource = objBLL.Execute_ViewBusinessProfile(MMBProfileId);
</code></pre>

<p>}
This is giving me an error. 
Input string not in correct format at (FormView1.DataKey["MMBProfileID"]);</p>

<p>Any hints will be appreciated
Thanks
Sun</p>
