sql 分页
摘要: SELECT TOP 10 * FROM Approve
WHERE (ID NOT IN
(
SELECT TOP 10*pageindex id FROM Approve
ORDER BY id
)
)
ORDER BY ID
pageindex 为页数
阅读全文
DropdownList绑定
摘要: this.DropDownList4.DataSource = Ht;
this.DropDownList4.DataValueField = "key";
this.DropDownList4.DataTextField = "value";
this.DropDownList4.DataBind();
阅读全文