check for existing values in Datatable
<pre><code>                if (dt.Rows[i]["Code"] == code)
                {

                    Label lblLang = (Label)(((e.Item as GridItem).FindControl("lblLang") as Label));
                    lblLang.Visible = true;

                }
                else
                {

                }
            }
</code></pre>

<p>I am adding a new language Fr-FR in the code above. fr-FR already exists in my DB's Language Table. I do not want to add duplicate values in my table. There should be only one fr-FR.
What am I doing wrong in the code above?</p>
