Hello,
Hello,
Using WPF-Binding this works well. Remember PIC 9(4) is not a numeric value for .Net.
Can you show me your XAML and the property definition.
Freundliche Grüsse
Werner Lanter
Hello,
Hello,
The XAML definitions of CODIG field.
<DataGridTextColumn Binding="{Binding CODIG, Mode=OneWay}" ClipboardContentBinding="{x:Null}" Header="Código" SortDirection="Descending" CanUserResize="False" FontSize="14" Width="60">
<DataGridTextColumn.HeaderStyle>
<Style>
<Setter Property="Control.HorizontalContentAlignment" Value="Center" />
<Setter Property="Control.Background" Value="Tan" />
<Setter Property="Control.Foreground" Value="Blue"/>
<Setter Property="Control.FontWeight" Value="Bold"/>
</Style>
</DataGridTextColumn.HeaderStyle>
<DataGridTextColumn.CellStyle>
<Style>
<Setter Property="TextBlock.TextAlignment" Value="Center" />
</Style>
</DataGridTextColumn.CellStyle>
</DataGridTextColumn>
Best Regards
Alberto Ferraz
Hello,
Can you also show me the property definition of CODIG in the Cobol source.
Hello,
Definition on Cobol Source
Working Storage:
01 WRK-CODIG PIC 9(8).
Instruction to Binding
set custCli::CODIG to WRK-CODIG
Definition on Class-Id.
01 WRX-CODIG string property as "CODIG".
Hello,
Make the following chage:
Definition on Class-Id.
01 WRX-CODIG binary-long property as "CODIG".
Hello,
It's perfect. Thanks again.
Best Regards
Alberto Ferraz
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.