Click here to Skip to main content
14,667,696 members
Rate this:
Please Sign up or sign in to vote.
See more:
pass Username and password in crystal report


when i run the report he asking me database login
how can i disable that

Print from dataGridView1

Report.ReportCatCustomersSingle reportcustomer = new Report.ReportCatCustomersSingle();
reportcustomer.SetParameterValue("@catId", this.dataGridView1.CurrentRow.Cells[0].Value.ToString());
Report.FormCatProducts fmct = new Report.FormCatProducts();
fmct.crystalReportViewer1.ReportSource = reportcustomer;
fmct.ShowDialog();
Posted
Updated 26-Mar-15 12:51pm
v3
Comments
digimanus 26-Mar-15 18:30pm
   
What's the question?
Why the same codeblock?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100