// Translate ??CultureLbl table: private int WrTrlCultureLbl(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.WrGetCultureLbl(CultureId); } foreach (DataRow dr in dt.Rows) { dr["Label"] = WrGetTranslation(DefCulture, CultureId, CultureName, dr["Label"].ToString().Trim(), dbConnectionString, dbPassword); using (Access3.WebAccess dac = new Access3.WebAccess()) { dac.WrInsCultureLbl(dr, CultureId); } cnt = cnt + 1; if (cnt >= MaxCnt) { break; } } } return(cnt); }