Example #1
0
 /// <summary>
 /// 来源绑定
 /// </summary>
 protected void MyBind()
 {
     B_Source bsource = new B_Source();
     DataTable dt = bsource.GetSourceAll();
     RepFiles.DataSource = dt;
     RepFiles.DataBind();
 }
Example #2
0
 public void MyBind()
 {
     B_Source bsource = new B_Source();
     GridView1.DataSource =bsource.GetSourceAll();// GetAuthorPage(0, 0, 10);
     GridView1.DataBind();
 }