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);
}
}