protected void GetDetailserialbtn_Click(object sender, EventArgs e)
        {
            caseserialno = serial.Value;
            if (caseserialno != "")
            {
                caseserialno = Convert.ToDecimal(serial.Value).ToString("0.00");
                DataTable dt, dt1, dt2 = new DataTable();
                dt = ddo.StockStatusCaseSerialNo(caseserialno);

                if (dt.Rows[0]["TransactionType"].ToString() == "SALE")
                {
                    rptr1.Visible    = true;
                    dt1              = ddo.StockInvoiceNoCaseserial(caseserialno);
                    rptr1.DataSource = dt1;
                    rptr1.DataBind();

                    dt = ddo.StockStatusCaseSerialNo(caseserialno);
                    rptr.DataSource = dt;
                    rptr.DataBind();

                    rptr2.Visible    = true;
                    dt2              = ddo.StockAllHologram(caseserialno);
                    rptr2.DataSource = dt2;
                    rptr2.DataBind();
                }
                else
                {
                    rptr1.Visible   = false;
                    rptr2.Visible   = false;
                    rptr.DataSource = dt;
                    rptr.DataBind();
                }
            }
        }