protected void DataList1_ItemDataBound(object sender, DataListItemEventArgs e) { javidDataContextdc=new javidDataContext(); foreach (DataListItem li in DataList1.Items) { string itemID = DataList1.DataKeys[0].ToString(); Label lbl1 = (Label)li.FindControl("Label1"); Label lblt = (Label)li.FindControl("lblt"); lblt.Text = (from p in dc.tbl_writer_translators where p.wid == int.Parse(lbl1.Text) select p.fullname).First(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)