![]() |
accessviolationexception with RC.Records.Add |
Post Reply ![]() |
Author | |
sintra@sintra-sl.es ![]() Groupie ![]() Joined: 07 April 2015 Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() Posted: 29 April 2021 at 6:32am |
Hi, I'm working with ReportControl v 18.0.1, Visual Studio 17 and C#. The code normally works fine, but sometimes it gives an error: "system.accessviolationexception en mscorlib.dll". This occurs when running "ReportRecord Record = RCRemesas.Records.Add();" Where is the problem?? Thanks. { ReportRecord Record = RCRemesas.Records.Add(); Record.AddItem(ObjRemesa.Id1); Record.AddItem(ObjRemesa.Numero1);// Record.AddItem(Convert.ToDateTime(Convert.ToDateTime(ObjRemesa.Fecha1).ToString("dd/MM/yy")));// Record.AddItem(ObjRemesa.Estado1);// Record.AddItem(ObjRemesa.IdCuentaCorriente1); Record.AddItem(BDRemesas.ObtenerTotalRemesa(ObjRemesa).ToString("#,##0.00")); } |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |