protected void Page_Load(object sender, EventArgs e)
        {
            DataSet ds = SmartDL.DispPertItmDL();

            if (ds != null)
            {
                gv_emp.DataSource = ds.Tables[0];
                gv_emp.DataBind();
            }
        }
Example #2
0
        protected void btn_add_Click(object sender, EventArgs e)
        {
            int     Item_ID = Convert.ToInt32(txt_itid.Text.ToString().Trim());
            DataSet ds      = SmartDL.DispPertItmDL(Item_ID);

            if (ds != null)
            {
                gv_pert_itm.DataSource = ds.Tables[0];
                gv_pert_itm.DataBind();
            }
        }