Exporting Data to Excel   Independent houses near kukatpally | Apartments in Pragathi Nagar | AndhraVaani.com | Log Out | Topics | Search
Register | Edit Profile

Bewarse TalkArchivesBewarse BewarseArchive through March 09, 2005 � Exporting Data to Excel Previous Next

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Kushi_ram
Vooriki Bewarse
Username: Kushi_ram

Post Number: 4669
Registered: 04-2004
Posted From: 192.62.193.123

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 1:08 pm:   Edit PostDelete PostView Post/Check IP

AW babai take the fields which the user wants to see on the screen. Using that fields form a dynamic query at runtime and populate the dataset.

Then assign the dataset to a hidden crystal report on the form. Finally Export the crystal report using the API provided by Crystal.

Chala simple ga aipothundi with less code.
Top of pagePrevious messageNext messageBottom of page Link to this message

Kushi_ram
Vooriki Bewarse
Username: Kushi_ram

Post Number: 4668
Registered: 04-2004
Posted From: 192.62.193.123

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 1:06 pm:   Edit PostDelete PostView Post/Check IP

http://blogs.wwwcoder.com/mustafaf/archive/2005/03 /04/2125.aspx

AW Mama Pandaga chesuko
Top of pagePrevious messageNext messageBottom of page Link to this message

Andhrawala
Vooriki Bewarse
Username: Andhrawala

Post Number: 5341
Registered: 03-2004
Posted From: 192.58.204.226

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 1:06 pm:   Edit PostDelete PostView Post/Check IP

>>AW yenkama, Crystal report can be exported to a PDF or excel format..try cheyyi..infact it also provides API for doing this..

Crystal lo vundhi mama. adhi thelusu. Data eda peda grouping sesi vallaki kavaalsina format lo sesi dobbenu. so adhi ippudu workout avvadhu.

Probably I can create another spreadsheet with all the columns and use it.


Thanks babailu for the help.

I will try the Miscrosoft site stuff
Top of pagePrevious messageNext messageBottom of page Link to this message

Kushi_ram
Vooriki Bewarse
Username: Kushi_ram

Post Number: 4667
Registered: 04-2004
Posted From: 192.62.193.123

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 1:05 pm:   Edit PostDelete PostView Post/Check IP

aggu manodiki source code techi pedtha..
Top of pagePrevious messageNext messageBottom of page Link to this message

Sollu
Vooriki Bewarse
Username: Sollu

Post Number: 4947
Registered: 03-2004
Posted From: 144.160.130.16

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:56 pm:   Edit PostDelete PostView Post/Check IP

KIKIKI KR babai nijame kada?

AW babai edo property set cheyyali to export the data ani gurthu...try seyyi:-)
Top of pagePrevious messageNext messageBottom of page Link to this message

Kushi_ram
Vooriki Bewarse
Username: Kushi_ram

Post Number: 4665
Registered: 04-2004
Posted From: 192.62.193.123

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:50 pm:   Edit PostDelete PostView Post/Check IP

AW yenkama, Crystal report can be exported to a PDF or excel format..try cheyyi..infact it also provides API for doing this..
Top of pagePrevious messageNext messageBottom of page Link to this message

Kushi_ram
Vooriki Bewarse
Username: Kushi_ram

Post Number: 4664
Registered: 04-2004
Posted From: 192.62.193.123

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:49 pm:   Edit PostDelete PostView Post/Check IP

http://msdn.microsoft.com/library/en-us/dno2k3ta/h tml/odc_Office2003ADONet.asp?frame=true

aw mama paina link lo examples kuda unnayi.
Top of pagePrevious messageNext messageBottom of page Link to this message

Andhrawala
Vooriki Bewarse
Username: Andhrawala

Post Number: 5340
Registered: 03-2004
Posted From: 192.58.204.226

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:48 pm:   Edit PostDelete PostView Post/Check IP

SQL Server vundadhu mama.

Oka search screen vundhi. Report ki formatted Crystal report chesemu.

Inka konni custom reports sesukotaaniki Excel lo dump adigedu of all the fields for the filtered data.

Top of pagePrevious messageNext messageBottom of page Link to this message

Sollu
Vooriki Bewarse
Username: Sollu

Post Number: 4946
Registered: 03-2004
Posted From: 144.160.130.16

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:41 pm:   Edit PostDelete PostView Post/Check IP

ippudu thadu antha sadiva....just oracle nunchi one time excell conversion kavala?

ala ayina kuda sql server unte u can write a dts connecting oracle db as ur source and excell file as target......
Top of pagePrevious messageNext messageBottom of page Link to this message

Kushi_ram
Vooriki Bewarse
Username: Kushi_ram

Post Number: 4663
Registered: 04-2004
Posted From: 192.62.193.123

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:41 pm:   Edit PostDelete PostView Post/Check IP

Mama sollu mama chepindhi chesthe you have to consider the issue in my post number 4661. Ikkada koncham careful ga implement cheyyali ENDUKANTE Web application kada.
Top of pagePrevious messageNext messageBottom of page Link to this message

Kushi_ram
Vooriki Bewarse
Username: Kushi_ram

Post Number: 4662
Registered: 04-2004
Posted From: 192.62.193.123

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:40 pm:   Edit PostDelete PostView Post/Check IP

ya ..then you have to write it to a file row by row in your .NET Code.
Top of pagePrevious messageNext messageBottom of page Link to this message

Sollu
Vooriki Bewarse
Username: Sollu

Post Number: 4945
Registered: 03-2004
Posted From: 144.160.130.16

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:40 pm:   Edit PostDelete PostView Post/Check IP

manam seppukunnadi work kaleda babai?
datareader badulu dataset loki lakkuni foreach loop vesi response.out seyyi babai work avvali

ofcourse datareader is faster. ayina datareader nunchi read chesthu output kuda cheyyochu kada?
Top of pagePrevious messageNext messageBottom of page Link to this message

Andhrawala
Vooriki Bewarse
Username: Andhrawala

Post Number: 5339
Registered: 03-2004
Posted From: 192.58.204.226

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:35 pm:   Edit PostDelete PostView Post/Check IP

Kushi babai,

It is Oracle database.

DTS is for SQLServer kadhaa.
Top of pagePrevious messageNext messageBottom of page Link to this message

Kushi_ram
Vooriki Bewarse
Username: Kushi_ram

Post Number: 4661
Registered: 04-2004
Posted From: 192.62.193.123

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:34 pm:   Edit PostDelete PostView Post/Check IP

Babai Response object antunnavu is it synchronous operation..IF so is the data you want to export to excel is huge or small.

There might be some timeout errors cos IIS will time out the request...
Top of pagePrevious messageNext messageBottom of page Link to this message

Kushi_ram
Vooriki Bewarse
Username: Kushi_ram

Post Number: 4660
Registered: 04-2004
Posted From: 192.62.193.123

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:32 pm:   Edit PostDelete PostView Post/Check IP

DTS package also exposeD through a .Net Assembly..undu assembly name cheptha..
Top of pagePrevious messageNext messageBottom of page Link to this message

Kushi_ram
Vooriki Bewarse
Username: Kushi_ram

Post Number: 4659
Registered: 04-2004
Posted From: 192.62.193.123

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:32 pm:   Edit PostDelete PostView Post/Check IP

USE DTS Package...
Top of pagePrevious messageNext messageBottom of page Link to this message

Andhrawala
Vooriki Bewarse
Username: Andhrawala

Post Number: 5338
Registered: 03-2004
Posted From: 192.58.204.226

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:25 pm:   Edit PostDelete PostView Post/Check IP

Inka dorakaledhu
Top of pagePrevious messageNext messageBottom of page Link to this message

Sollu
Vooriki Bewarse
Username: Sollu

Post Number: 4943
Registered: 03-2004
Posted From: 144.160.130.16

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:24 pm:   Edit PostDelete PostView Post/Check IP

dorakaleda babai? leka thadu esthu nannu adigara?
Top of pagePrevious messageNext messageBottom of page Link to this message

Andhrawala
Vooriki Bewarse
Username: Andhrawala

Post Number: 5336
Registered: 03-2004
Posted From: 192.58.204.226

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, March 08, 2005 - 12:13 pm:   Edit PostDelete PostView Post/Check IP

from Datareader to Excel through Response object
I need to export data retrieved from a query to excel.

using asp.net and VB.

Any help is appreciated.