Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request["ReqId"] != null)
                {
                    if (Request["ReqId"] != "")
                    {
                        string req_id = Request["ReqId"].ToString();

                        ItemDal dal = new ItemDal();

                        DataSet ds = dal.GetRequestStockById(req_id);

                        if (ds != null && ds.Tables[0].Rows.Count > 0)
                        {
                            lbReqId.Text = req_id;

                            ResultGridView.DataSource = ds.Tables[0];
                            ResultGridView.DataBind();
                        }
                    }
                }
            }
            else
            {
            }
        }