摘要:
protected void checkAll(object sender, EventArgs e) { CheckBox cb = (CheckBox) sender; if (cb.Text == "全... 阅读全文
摘要:
在页面添加一个ID为ExportToExcelBtn的按钮,代码部分如下:protected void ExportToExcelBtn_Click(object sender, EventArgs e) { Response.Clear(); Response.AddHeader("content-disposition", "attachment;filena... 阅读全文
摘要:
' DataSourceID="CategoryDS" DataTextField="CategoryName" DataValueField="CategoryID"> ... 阅读全文
摘要:
' > 阅读全文