update 20260303
This commit is contained in:
@@ -324,7 +324,19 @@ ELSE
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (json == null)
|
||||
{
|
||||
using (SqlConnection con = new SqlConnection(connectionstring))
|
||||
using (SqlCommand cmd = new SqlCommand(
|
||||
"SELECT paket FROM Ondoc_Versandstrasse_Paket WHERE id = @key", con))
|
||||
{
|
||||
cmd.Parameters.AddWithValue("@key", key);
|
||||
con.Open();
|
||||
json = cmd.ExecuteScalar()?.ToString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
System.IO.File.WriteAllText(Properties.Settings.Default.tempdir + txtfilename.Text + ".json", json);
|
||||
Refresh_Filelist();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user