I am trying to call crystal report from c# using a button click.
In the form I have two datetimepicker controls named DT1 , DT2.
I have used the following code in button.
crpt is the crystal report conrtrol. pur_ord_vw is the view in database.
UserId = "sa";
Password = "gms123"...