Beispiel #1
0
 private void SetDrop()
 {
     Bll.PressTable press = new Bll.PressTable();
     DropDownList1.DataSource     = press.aselect("");
     DropDownList1.DataValueField = "PreName";
     DropDownList1.DataBind();
     Bll.CategoryTable cate = new Bll.CategoryTable();
     DropDownList2.DataSource     = cate.aselect("");
     DropDownList2.DataValueField = "BookCategory";
     DropDownList2.DataBind();
 }
Beispiel #2
0
 public SqlDataReader bbang()
 {
     Bll.PressTable press = new Bll.PressTable();
     return(press.aselect(""));
 }