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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.