protected void GetData() { string text = string.Empty; string select = string.Empty; personTable = dcore.GetTotalselectunit(DataControls.GetSelectedValueComboBoxToString(cmbunit), out count); NlabelTable = dcore.GetNlabelInUnit(DataControls.GetSelectedValueComboBoxToString(cmbunit), out count); SelectNlabelTable = dcore.GetNlabelInUnit("", out count); foreach (DataRow dr in SelectNlabelTable.Rows) { select = select + dr["NLABEL"].ToString() + " "; } lblselectol.Text = select; foreach (DataRow dr in NlabelTable.Rows) { text = text + dr["NLABEL"].ToString() + " "; } txtselect_number.Text = text; lbltotal.Text = personTable.Rows.Count.ToString(); txtnummerperlabel.Text = string.Empty; txtnumberlaber.Text = string.Empty; }