private void GetNoOfInq() { Label lbl = (Label)Page.Master.FindControl("NoOfInqLbl") as Label; lbl.Text = dc.GetNoOfInq(); }