Friday, 30 March 2012

using linq access radgrid's item or row


List<GridDataItem> Items = (from item in radAvailableNetworks.MasterTableView.Items.Cast<GridDataItem>()
where ((CheckBox)item.FindControl("chkSelect")) != null
&& ((CheckBox)item.FindControl("chkSelect")).Checked
select item).ToList();

No comments:

Post a Comment