5 Replies - 11778 Views - Last Post: 15 April 2010 - 09:40 PM Rate Topic: -----

#1 vasanthkumar  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 12
  • Joined: 29-December 09

how to export data to word document in windows application?

Posted 15 April 2010 - 03:38 AM

how to export data to word document in windows application?
can any one help me.

This post has been edited by vasanthkumar: 15 April 2010 - 03:39 AM

Is This A Good Question/Topic? 0
  • +

Replies To: how to export data to word document in windows application?

#2 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 465
  • View blog
  • Posts: 4,255
  • Joined: 25-March 09

Re: how to export data to word document in windows application?

Posted 15 April 2010 - 04:08 AM

check this out
http://www.vbdotneth...rddocument.aspx
Was This Post Helpful? 0
  • +
  • -

#3 vasanthkumar  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 12
  • Joined: 29-December 09

Re: how to export data to word document in windows application?

Posted 15 April 2010 - 06:03 AM

thank's ur code is working fine.
but i want to export data from datagrid to word document how to do this?

plz help me.
Was This Post Helpful? 0
  • +
  • -

#4 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1067
  • View blog
  • Posts: 4,176
  • Joined: 02-July 08

Re: how to export data to word document in windows application?

Posted 15 April 2010 - 07:44 AM

Create a table on the word doc, then loop thru the datarows on the datatable and populate the word table. Word tables, rows, columns, and cells are 1-based not 0-based like arrays.
Was This Post Helpful? -1
  • +
  • -

#5 vasanthkumar  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 12
  • Joined: 29-December 09

Re: how to export data to word document in windows application?

Posted 15 April 2010 - 09:30 PM

plz send me the code related to this.
Was This Post Helpful? -1
  • +
  • -

#6 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1642
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: how to export data to word document in windows application?

Posted 15 April 2010 - 09:40 PM

Sorry but we can not give you the entire code to solve your problem. We are here to assist in solving problems with code you have written, with any error messages you are getting or what isn't working the way that you expect it to, we would be more than happy to help you with those problems. If there is a topic that you don't understand we would be more than happy to help you with that as well. Make sure to post any code with in code tags like below.

:code:

Be sure to visit our tutorial and snippet areas or read the FAQS at the top of the forums. Also, take a moment to read the rules about posting topics.

Thank you for helping us to help you solve your problem.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1