Click here to Skip to main content
15,881,757 members
Articles / Desktop Programming / Win32

Create/Read/Edit Advance Excel 2007/2010 Report in C#.Net using EPPlus

Rate me:
Please Sign up or sign in to vote.
4.85/5 (46 votes)
13 Nov 2013CPOL6 min read 309.5K   28.9K   118  
Export Advance Excel 2007 Report
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EPPlusDemo
{
	public partial class FormSheetName : Form
	{
		public FormSheetName()
		{
			InitializeComponent();
		}

		private void btnOK_Click(object sender, EventArgs e)
		{
			if (string.IsNullOrEmpty(txtSheetName.Text)) this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			else
			{
				this.Tag = txtSheetName.Text;
				this.DialogResult = System.Windows.Forms.DialogResult.OK;
			}
			this.Close();
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer National Informatics Centre (NIC)
India India
Hello! Myself Debopam Pal. I've completed my MCA degree from West Bengal University of Technology at 2013. I'm from India. I’ve started to work with MS Technologies in 2013 specially in C# 4.0, ASP.NET 4.0. I've also worked in PHP 5. Now I work in JAVA/J2EE, Struts2. Currently I'm involved in a e-Governance Project since Jan, 2014. In my leisure time I write Blog, Articles as I think that every developer should contribute something otherwise resource will be finished one day. Thank you for your time.

Visit: Linkedin Profile | Facebook Profile | Google+ Profile | CodeProject Profile

Comments and Discussions