943,945 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 10805
  • C# RSS
Oct 19th, 2006
0

how to add database fields dynamically to a crystal report in .net 2003

Expand Post »
hi please anybody help me in this situation

i am having 3 sql server tables namely

1.Req Items 108 kalasa pooja(fields: ItemName,Qty )
2.Req Items Laksharchana(fields: ItemName,Qty )
3.Req Items Ganapathi homam(fields: ItemName,Qty )

i had added these items to a combo box

based on the user selection the particular table should be made as report source and the corresponding fields should be added to the crystal report using c# coding.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gubba_balu is offline Offline
2 posts
since Oct 2006
Jan 25th, 2007
0

Re: how to add database fields dynamically to a crystal report in .net 2003

this can be done by passing the selected value in the query..
like;;
select * from tbl_something where itemname='"+cmbo.text+";

then pass this qery to command or adapterand bind the data to report

it will work:regards
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Aun Muhammad is offline Offline
8 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: combobox & dataset SOS!!!
Next Thread in C# Forum Timeline: .xsd





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC