ReportDocument rptDoc = new ReportDocument();
rptDoc.Load("x:\\crystalreport\\crPull.rpt");
TableLOGOnInfo LOGOnInfo = new TableLOGOnInfo();
LOGOnInfo = rptDoc.Database.Tables["tblMagUserInfo"].LOGOnInfo;
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo = LOGOnInfo.ConnectionInfo;
connectionInfo.ServerName = "myserver";
connectionInfo.DatabaseName = "mydb";
connectionInfo.UserID = "myid";
connectionInfo.PassWord = "mypwd";
rptDoc.Database.Tables["tblMagUserInfo"].ApplyLOGOnInfo(LOGOnInfo);
CrystalReportVIEwer1.ReportSource = rptDoc;