// Translate CtButtonHlp table (??Design only): private int WrTrlCtButtonHlp(int MaxCnt, string DefCulture, string CultureId, string CultureName, string dbConnectionString, string dbPassword) { int cnt = 0; if (dbConnectionString.IndexOf("Design") >= 0) { DataTable dt; using (Access3.WebAccess dac = new Access3.WebAccess()) { dt = dac.WrGetCtButtonHlp(CultureId, dbConnectionString, dbPassword); } foreach (DataRow dr in dt.Rows) { dr["ButtonName"] = WrGetTranslation(DefCulture, CultureId, CultureName, dr["ButtonName"].ToString().Trim(), dbConnectionString, dbPassword); dr["ButtonLongNm"] = WrGetTranslation(DefCulture, CultureId, CultureName, dr["ButtonLongNm"].ToString().Trim(), dbConnectionString, dbPassword); dr["ButtonToolTip"] = WrGetTranslation(DefCulture, CultureId, CultureName, dr["ButtonToolTip"].ToString().Trim(), dbConnectionString, dbPassword); using (Access3.WebAccess dac = new Access3.WebAccess()) { dac.WrInsCtButtonHlp(dr, CultureId, dbConnectionString, dbPassword); } cnt = cnt + 1; if (cnt >= MaxCnt) { break; } } } return(cnt); }