protected void btnBlock_Click(object sender, EventArgs e)
        {
            try
            {
                Button      btn          = (Button)sender;
                GridViewRow gvr          = (GridViewRow)btn.NamingContainer;
                CheckBox    chkSubscribe = (CheckBox)gvr.FindControl("chkSubscribe");

                if (!chkSubscribe.Checked)
                {
                    Message.IsSuccess = false;
                    Message.Text      = "Member can not update!!! Please check, member may not SMS subscribed...";
                    Message.Show      = true;

                    return;
                }

                int  MemberId = int.Parse(dgvMemberMaster.DataKeys[gvr.RowIndex].Values[0].ToString());
                bool IsBlock  = (btn.Text == "Block") ? true : false;

                BusinessLayer.Common.MemberMaster objMemberMaster = new BusinessLayer.Common.MemberMaster();

                int i = objMemberMaster.SMSSubscription_Block(MemberId, IsBlock);

                if (i > 0)
                {
                    Message.IsSuccess = true;
                    Message.Text      = "Member updated.";

                    LoadMember();
                }
                else
                {
                    Message.IsSuccess = false;
                    Message.Text      = "Member can not update!!! Please check, member may not SMS subscribed...";
                }
            }
            catch
            {
                Message.IsSuccess = false;
                Message.Text      = "Member can not update!!!";
            }
            Message.Show = true;
        }