foreach (ListViewItem item in ListView1.Items) { Label lblTest = (Label)item.FindControl("lblTest");//lblTest is the label inside listview if(lblTest!=null){ //Write your code here Response.Write(lblTest.Text); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)