Last post Mar 23, 2011 01:44 AM by microsoftee
Dec 01, 2010 02:33 AM|udaya kumar|LINK
i have done a crystal report in asp.net. i have a table called c_order it contains cust_id field, so while generating report itself i specified cust_id value but i have put a textbox and a button in the form which contains crystalreportviewer. so i need
to enter a value in textbox and press the button then it should get value which match with the value in textbox with database and generate report. so how to do this, anyone help me in asp.net C#.....
asp.net C# 3.5
Mar 23, 2011 01:44 AM|microsoftee|LINK
Drop a ReportSource control to form and set CrystalReportSource control's report file .rpt and set DataSources to SQLDataSource control, set SQLDataSource control commandText to your query, In CrystalReportSource control add Parameter and set it as your Textbox.