这几句代码什么意思啊?PicNewsBLL newbll = new PicNewsBLL(); this.rpt1.DataSource = newbll.GetNewsTable("31379dee-7bbd-443a-aa2e-2e15d221","13"); this.rpt1.DataBind();

来源:学生作业学帮网 编辑:学帮网 时间:2024/07/02 19:15:24

这几句代码什么意思啊?
PicNewsBLL newbll = new PicNewsBLL();
this.rpt1.DataSource = newbll.GetNewsTable("31379dee-7bbd-443a-aa2e-2e15d221","13");
this.rpt1.DataBind();

貌似是把数据绑定到rpt1上,rpt1应该是个控件吧
数据来自于 newbll.GetNewsTable("31379dee-7bbd-443a-aa2e-2e15d221","13")