protected void gvProductSpecificationAttributes_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            if (e.CommandName == "UpdateProductSpecificationAttribute")
            {
                int         index = Convert.ToInt32(e.CommandArgument);
                GridViewRow row   = gvProductSpecificationAttributes.Rows[index];

                HiddenField    hfProductSpecificationAttributeId = row.FindControl("hfProductSpecificationAttributeId") as HiddenField;
                Literal        lblSpecificationAttributeName     = row.FindControl("lblSpecificationAttributeName") as Literal;
                DropDownList   ddlSpecificationAttributeOption   = row.FindControl("ddlSpecificationAttributeOption") as DropDownList;
                CheckBox       chkAllowFiltering    = row.FindControl("chkAllowFiltering") as CheckBox;
                CheckBox       chkShowOnProductPage = row.FindControl("chkShowOnProductPage") as CheckBox;
                NumericTextBox txtProductSpecificationAttributeDisplayOrder = row.FindControl("txtProductSpecificationAttributeDisplayOrder") as NumericTextBox;

                int productSpecificationAttributeId = int.Parse(hfProductSpecificationAttributeId.Value);
                int saoId        = int.Parse(ddlSpecificationAttributeOption.SelectedItem.Value);
                int displayOrder = txtProductSpecificationAttributeDisplayOrder.Value;

                ProductSpecificationAttribute productSpecificationAttribute = SpecificationAttributeManager.GetProductSpecificationAttributeById(productSpecificationAttributeId);

                if (productSpecificationAttribute != null)
                {
                    SpecificationAttributeManager.UpdateProductSpecificationAttribute(
                        productSpecificationAttribute.ProductSpecificationAttributeId,
                        productSpecificationAttribute.ProductId,
                        saoId,
                        chkAllowFiltering.Checked,
                        chkShowOnProductPage.Checked,
                        displayOrder);
                }

                BindData();
            }
        }