Ejemplo n.º 1
0
    protected void TextBox4_TextChanged(object sender, EventArgs e)
    {
        bl.item_name = TextBox4.Text;
        DataSet ds = new DataSet();

        ds = dl.secectitmnam(bl);
        if (ds.Tables[0].Rows.Count > 0)
        {
            ScriptManager.RegisterStartupScript(this, this.GetType(), "redirect", "alert('The Item Name Already Exists'); window.location='item_msater.aspx';", true);
        }
        dwd_grp.Focus();
    }