日期:2014-05-17 浏览次数:20435 次
string selstr = "select * from [list],[type] where [cid]=" + type + "and [list.cid]=[type.cid] order by [seller_credit] desc";
OleDbDataAdapter ada = new OleDbDataAdapter(selstr, constring);
DataSet ds = new DataSet();
ada.Fill(ds, 0, count, "list");
ada.Fill(ds);
DataList1.DataSource = ds.Tables["list"];
DataList1.DataBind();