connection crystal report in c# 2010, if it can help you:
Code:
string Etype;
string checkBox;

CrystalDecisions.Shared.ParameterDiscreteValue objParameterDiscreteValue = new 
CrystalDecisions.Shared.ParameterDiscreteValue();
CrystalDecisions.Shared.ParameterField objParameterField = new 
CrystalDecisions.Shared.ParameterField();
CrystalDecisions.Shared.ParameterFields objParameterFields = new 
CrystalDecisions.Shared.ParameterFields();

public EquipmentReportTypeByType(string eType, string CheckBox)
        {
            InitializeComponent();
            Etype = eType;
            checkBox = CheckBox;
            if (checkBox == "Type By Type")
            {
               crystalReportViewer1.ReportSource = new ReportTypeByType();
                objParameterDiscreteValue.Value = Etype;
                objParameterField.ParameterFieldName = "@EType";
                objParameterField.CurrentValues.Add(objParameterDiscreteValue);
                objParameterFields.Add(objParameterField);
                crystalReportViewer1.ParameterFieldInfo = objParameterFields;
                crystalReportViewer1.Show();
            }

        }