following is my code for display crystal report.
I want to display only a particular report based on the condition.
ie I want to display only one record.but when i run run ,all records are showing .condition is not working.
what i have to do.
K L BAIJU
protected void Button1_Click(object sender, EventArgs e)
SqlDataAdapter da = new SqlDataAdapter("select * from customers where customerid='" + TextBox1.Text + "'", con);
DataSet ds = new DataSet();
ReportDocument report = new ReportDocument();
string reportpath = Server.MapPath("CrystalReport5.rpt");
CrystalReportViewer1.ReportSource = report;