for(int i=0:i<ds.Table[0].Rows.Count:i++)

{

  Label tb=Page.Master.FindControl("").FindControl("Lable"+(i+1)) as Lable;

tb.Text=ds.Table[0].Rows[i]["title"].Tostring();

相关文章: