摘要:
第一种下载方式: Label Label5 = GridView1.Rows[e.RowIndex].Cells[0].Controls[0].FindControl("Label5") as Label; Response.ContentType = "appli... 阅读全文
摘要:
首先,我们先要在前台的Aspx页面中准备一个Label控件(用于楼层的显示)。 其次,我们在后台的cs页面中准备一个用于显示楼层的方法ItemDataBound(该事件是DataList绑定一行数据就执行一次)。 protected void DataList2_ItemDataBound(obje... 阅读全文