protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { stockDt = stockBll.RealTimeStock(); string num = stockDt.Compute("SUM(QUANTITY)", "").ToString(); this.lblNumber.Text = num; } GetDataBind(stockDt); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { stockDt = stockBll.RealTimeStock(); string num = stockDt.Compute("SUM(QUANTITY)", "").ToString(); this.lblNumber.Text = num; } GetDataBind(stockDt); }