I am running a program in which the output is visible in a grid and now i want that output to be saved in Excel file. I need that code of converting the ouput into Excel file. plz...................help

Depends if you are more comfortable with Databases or Interop.

Alternatively, you could output as .csv easily enough just using the System.IO and Streamwriter....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.