private void listOverstock_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Balance bal = new Balance(); DataTable stockout = bal.GetOverStock(storeId, curMont, curYear, Convert.ToInt32(lkCategory.EditValue)); //StatusGroup.Text = "Over Stocked Items"; DataTable dtStockout = (from m in stockout.AsEnumerable() where ((ckExclude.Checked == true) ? Convert.ToInt32(m["EverReceived"]) == 1 : true) select m).CopyToDataTable(); PopulateList(stockout, listStatused); }