Use Item data bound event of data list .
Try to do some thing like this code.
protected void DataList2_ItemDataBound(object sender, DataListItemEventArgs e) {
if (e.Item.ItemType == ListItemType.Item) {
Label lbl =(Label)e.Item.FindControl("panelPostDetails").FindControl("lblMorePictures");
string tempString = lbl.Text;
if(tempstring.length>100)
{
tempString=tempstring.subString(0,100);
tempstring=tempstring+"...";
lbl.Text= tempstring;
}
}
}
I have written this code as text. So if there is any syntax problem, please correct it.