code need for extrating the data into an excel file

  • Thread starter vijayan veeraragavan
  • Start date
V

vijayan veeraragavan

hai,


i want to extract the data from the datagrid or custom table and copy as
excel file. how to do this using DDE ( Dynamic Data Exchange)
 
N

Nicholas Paldino [.NET/C# MVP]

vijayan,

Why do you need to do this using DDE? Quite honestly, I think it would
be near impossible to do this using DDE, as I don't know that the command
verbs are there.

I would use Excel automation to create the file. It should be pretty
easy too.

Just create your workbook and then copy the data out.

Hope this helps.
 
T

Tarren

Unless you need Macros, you could it through xml and push through xslt to
create an excel doc.


Nicholas Paldino said:
vijayan,

Why do you need to do this using DDE? Quite honestly, I think it would
be near impossible to do this using DDE, as I don't know that the command
verbs are there.

I would use Excel automation to create the file. It should be pretty
easy too.

Just create your workbook and then copy the data out.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

vijayan veeraragavan said:
hai,


i want to extract the data from the datagrid or custom table and copy as
excel file. how to do this using DDE ( Dynamic Data Exchange)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top