30
2012
03

导出gridwiew中的数据

protected void Button1_Click(object sender, EventArgs e)
{
ExportToExcel();
}
public void ExportToExcel()
{
if (GridView1.Rows.Count > 0)
{
string FileName = "导出文件名";
...
«1»