TableLogOnInfo LInfo = new TableLogOnInfo();
LInfo.ConnectionInfo.ServerName = Application.StartupPath + "\\xxxx";
LInfo.ConnectionInfo.DatabaseName = "xxxx";
LInfo.ConnectionInfo.UserID = "xxxx";
LInfo.ConnectionInfo.Password = "xxxx";
for (int i = 0; i < crp11.Database.Tables.Count; i++)
{
crp11.Database.Tables[i].ApplyLogOnInfo(LInfo);
}