AW.Portal.ProductBrowser.GridView_RowCommand C# (CSharp) Метод

GridView_RowCommand() защищенный Метод

protected GridView_RowCommand ( object sender, GridViewCommandEventArgs e ) : void
sender object
e GridViewCommandEventArgs
Результат void
        protected void GridView_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            if (e.CommandName == "Order")
            {

                    int rowindex = Convert.ToInt32(e.CommandArgument);
                    ProductOrderPage.GetDesc(rowindex);
                   // ClientScript.RegisterStartupScript(this.GetType(), "Popup", "ShowProductOrder();", true);
                    div_ProductOrder.Visible = true;
                    div_ProductBrowser.Visible = false;

            }
            else if (e.CommandName == "Select")
            {
                int id = Convert.ToInt32(e.CommandArgument);

                ProductDescri.GetDesc(id);

                ClientScript.RegisterStartupScript(this.GetType(), "Popup", "ShowPopup();", true);

            }
        }