1. Set the cell's name as same as the ColumnName of the DataSet column:

Insert - Name - Define

  1The common method for filling date into Excel cells from DataSet
  2The common method for filling date into Excel cells from DataSet        protected void Button2_Click(object sender, EventArgs e)
  3        }

相关文章: