database login prompt with crystal reports

前端 未结 4 1818
野趣味
野趣味 2021-01-19 03:56

I\'m trying to display some report with some subreports inside it, but every it shows the report it throws some dialog box asking for datab

4条回答
  •  隐瞒了意图╮
    2021-01-19 04:36

    You can just write report.SetDatabaseLogon("username", "pwd", @"server", "database"); give the login information then the database logon box will not appear when you will run the code.

提交回复
热议问题