Esempio n. 1
0
    /* Region is use to add referral source with verification to database*/
    protected void ImgSubmitService_Click(object sender, EventArgs e)
    {
        StoreFront ObjStoreFront = new StoreFront();
        int        count         = ObjStoreFront.AddReferalSource(txtReferalName.Text.Trim());

        if (count == 1)
        {
            SuccesfullMessage("Referral Name added successfully.");
            txtReferalName.Text = "";

            BindGrid();
        }
        else
        {
            ErrMessage("Please enter Referral Name.");
            txtReferalName.Text = "";
        }
    }