4,820
社区成员
发帖
与我相关
我的任务
分享
,让我很受伤
myReport.SetDatabaseLogon("user","password", "serverName", "");//Oracle,同一個serverName之間切換不會出問題
foreach (CrystalDecisions.CrystalReports.Engine.Table tbl in myReport.Database.Tables)
{
tbl.Location = "DatabasePrefix"+ "." + tbl.Location;//更換數據庫表前綴,實現切換
}
