FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister  MasterVB.NET
Visual Basic 2005 .NET Forum
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
how to add column programatically to crystal report.
 
Post new topic   Reply to topic    MasterVB.NET Forum Index -> Database Programming
View previous topic :: View next topic  
Message
Author
Kalpesh
Newbie
Joined: 16 Jul 2006
Posts: 6

PostPosted: Sun Jul 16, 2006 1:00 am    
Post subject: how to add column programatically to crystal report.
Reply with quote

Hi all

we are working on crystal report to develop verious report for our asp.net web application..
my query fetch the recods as follows.

party id rating agency name rating
1 crisil aa+
1 moodys aa
2 crisil bb
2 moody bb+

i want to display these records in crystal report as follows.

party id moody crisil ...
1 aa aa+
2 bb+ bb

the proble is agency are not fixed. write now there are only 2 agecny in my database.

later these agancies will be added..

My problem is how to add column programatically to crystal report using asp.net + c#
i am using asp.net 2.0 with .net cyrstal report

Need ur help

Thanks and warm regards,

Kalpesh





we are developing web application using asp.net 2.0 and c#..

I m



 

Back to top
View user's profile Send private message
Author
Raj
Newbie
Joined: 04 Jul 2006
Posts: 41

PostPosted: Tue Jul 18, 2006 1:00 am    
Post subject:
Reply with quote

Try this.....

Get your data in DataTable and then manipulate to add whatever rows colums .... once done with that use the final DataTable as DataSource for your report and disply it.

Raj



 

Back to top
View user's profile Send private message
Author
Raj
Newbie
Joined: 04 Jul 2006
Posts: 41

PostPosted: Tue Jul 18, 2006 1:00 am    
Post subject:
Reply with quote

Try this.....

Get your data in DataTable and then manipulate to add whatever rows colums .... once done with that use the final DataTable as DataSource for your report and disply it.

Raj



 

Back to top
View user's profile Send private message
Author
Kalpesh
Newbie
Joined: 16 Jul 2006
Posts: 6

PostPosted: Wed Jul 19, 2006 1:00 am    
Post subject:
Reply with quote

Hi Raj,

Thanks for the reply..

I am using xsd approch where i define all the column which are going to display in report.

I already prepare one datatable programatically which contains all this data

Now Is it possible to bind this data table to the crystal report...

Also then what will be the role of my xsd schema...Also how i inserted company logo or title in the report if i directly bind the datatable to the report.. I am relatively new in the crystal report..

Can u explain through code.

Thanks and Warm Regards,

Kalpesh

Again thanks for ur reply....

Raj wrote:
Quote:
Try this.....

Get your data in DataTable and then manipulate to add
whatever rows colums .... once done with that use the final DataTable
as DataSource for your report and disply it.

Raj




 

Back to top
View user's profile Send private message
Author
Raj
Newbie
Joined: 04 Jul 2006
Posts: 41

PostPosted: Sat Jul 22, 2006 1:00 am    
Post subject:
Reply with quote

I am not sure about XSD but I'll try to find out more abt it. Btw if you find any solution please let me know.

Raj



 

Back to top
View user's profile Send private message
Author
Kalpesh
Newbie
Joined: 16 Jul 2006
Posts: 6

PostPosted: Mon Jul 24, 2006 1:00 pm    
Post subject:
Reply with quote

Hi,

i expecting ur solution.

If i solve this problem i will revert back to u.

Thanks and warm regards,

Kalpesh

Raj wrote:
Quote:
I am not sure about XSD but I'll try to find out more abt it. Btw if
you find any solution please let me know.

Raj




 

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MasterVB.NET Forum Index -> Database Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Archieve

Powered by phpBB © 2001, 2002 phpBB Group, used in Visual Basic 2005 .NET Forum

| Visual Basic .NET Forum | Online Recipe Archiver | Shareware Freeware PAD | Lowongan Kerja | Kamus Online | Health Supply | Digital Camera Review |
Orang Paling Keren

RSS