Fix gestione codici "lunghi" nuovi

...in decodifica prendeva ancora primi 4 char...
This commit is contained in:
Samuele E. Locatelli
2017-03-30 17:46:09 +02:00
parent 6df28c8fdf
commit 1e27cc350c
10 changed files with 5 additions and 1 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -13,3 +13,4 @@ C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\WebGIM\GIM_d
C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\WebGIM\GIM_dataLayer\bin\Release\it\Microsoft.Build.Utilities.v3.5.resources.dll
C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\WebGIM\GIM_dataLayer\obj\Release\GIM_dataLayer.dll
C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\WebGIM\GIM_dataLayer\obj\Release\GIM_dataLayer.pdb
C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\WebGIM\WebGIM\GIM_dataLayer\bin\Release\SteamWare.dll.config
Binary file not shown.
@@ -42,7 +42,10 @@ namespace GIM_site.WebUserControls
{
try
{
ddlGruppo.SelectedValue = value.Substring(0, 4);
int posPunto = value.IndexOf('.');
posPunto = value.IndexOf('.', posPunto + 1);
string codGruppo = value.Substring(0, posPunto);
ddlGruppo.SelectedValue = codGruppo;
ddlCodInterno.SelectedValue = value;
}
catch
Binary file not shown.
Binary file not shown.