protected void DataList1_ItemCommand(object source, DataListCommandEventArgs e)
{
if (e.CommandName == "view")
{
int i = Convert.ToInt32(DataList1.DataKeys[e.Item.ItemIndex]);
ProductDescri.GetDesc(i);
ClientScript.RegisterStartupScript(this.GetType(), "Popup", "ShowPopup();", true);
}
else
{
int listvalue = Convert.ToInt32(DataList1.DataKeys[e.Item.ItemIndex]);
ProductOrderPage.GetDesc(listvalue);
ClientScript.RegisterStartupScript(this.GetType(), "Popup", "ShowProductOrder();", true);
}
}