You mean save this code as a .dll file and then import it into your project?

When we can save the gridview as excel with just a few more lines of code, what is the need of this library?
naimish like this