Please help friends!!!
How to logon to database, when Connection is Window Authentication Mode?
If it is SQL Server Authentication Mode than the connection is like this:
report.Database.LogOnServer "p2ssql.dll", "local(local)", "abc","sa",""
but in Window Authentication Mode there is nothing to do with userid & password, we just check on "TRUSTED CONNECTION"
so what will be the ......... "report.Database.LogOnServer??"