update vermerke

This commit is contained in:
2026-04-30 09:26:04 +02:00
parent e6df74906b
commit 222153f19e
3 changed files with 72 additions and 5 deletions

View File

@@ -85,7 +85,7 @@ Public Class frmSendungsDokumentanforderung
End If
Next
End If
If cmbCustomerUploadEmailTemplate.Items.Count > 0 Then
cmbCustomerUploadEmailTemplate.SelectedIndex = 0
End If
@@ -107,7 +107,7 @@ Public Class frmSendungsDokumentanforderung
For Each row As DataRow In _emailTemplates.Rows
Dim bezeichnung = If(IsDBNull(row("txt_bezeichnung")), "", CStr(row("txt_bezeichnung"))).Trim()
Dim sprache = If(IsDBNull(row("txt_sprache")), "", CStr(row("txt_sprache"))).Trim().ToLowerInvariant()
If String.Equals(bezeichnung, selectedTemplate, StringComparison.OrdinalIgnoreCase) Then
' Wenn wir die genaue Sprache finden, nimm diese
If String.Equals(sprache, selectedLang, StringComparison.OrdinalIgnoreCase) Then