Int16 post_id = Convert.ToInt16(((Label)e.Item.FindControl("Label3")).Text);
e.Item.FindControl("Label3")
if (e.ItemType == ListItemType.Footer) { int post_id = Convert.ToInt16(((Label)e.Item.FindControl("Label3")).Text); }
Label id= (Label)DataList1.Items[i].FindControl("Label2"); int post_id=Convert.ToInt32(id.Text.ToString());
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)