Questions tagged as 'c#'

0
answers

Excel add-in does not install

I have a Add-In that uses .Net Framework 4.0 and Visual Studio . It works fine with Office 2013. After installing Office 2016, when I try to install the same VSTO add-in it is giving me an error as follows:    The f...
asked by 16.05.2017 / 16:36
0
answers

Keep object in memory after end of method [closed]

I need to load two spreadsheets to generate a dictionary with spreadsheet data. I'm a bit confused about this .. I've created a ReadFilter method for not repeating the code, since the process is the same for both files. This method returns a...
asked by 10.03.2017 / 20:40
0
answers

Request Digital Certificate ASP MVC

I'm developing an NF-e Web Generator. In the action for the generation of NF-e, I need to request the client's digital certificate through the browser, which can be either A1 or A3, just like the e-Cac website does: link Where this site...
asked by 13.03.2017 / 14:37
1
answer

How do I instantiate a class within a wpf? [closed]

The thing goes further, the problem is that it always returns this error when instantiating this class: namespace AlmoxarifadoUpas { class ConsultaMaterialEntradaSaida { private IEnumerable<MaterialA> materiais = new List<Mate...
asked by 10.03.2017 / 14:47
1
answer

Aggregations and DDD

I'm developing a project by applying the principles of DDD , I created an aggregation class ( Conta ) it will contain the classes ( Agencia ) and ( Agente ) which as ( Conta ) have tables in the database. My questio...
asked by 11.01.2017 / 10:38
0
answers

unable to start program 'C: \ Program Files (x86) \ IIS Express \ iisexpress.exe'

My visual studio from night to day started to give an error when starting the application, this error only happens the first time I start the application (asp.net mvc 4), at other times iis starts and stops at same time Error:    "unable t...
asked by 10.01.2017 / 21:53
0
answers

Validation of RNE (National Registry of Foreigners) or CIE (Alien Identity Card)

Does anyone know how I can validate the number of the CIE (Foreign Identity Card) or RNE (National Register of Foreigners)? I believe there are two nomenclatures. Regardless of language.     
asked by 26.05.2017 / 16:03
2
answers

How do I step to screen a serialized object? [duplicate]

I'm trying to convert an object containing a relationship and serializing affine, from sending it to View by Ajax . I have two related classes public class Eventos : IEntidade<EventosAuditoria> { [Key] public int ID { get...
asked by 31.05.2017 / 07:14
0
answers

MVC Component for Google Maps

I'm currently using the Googlemap control for Asp.Net MVC component. to render maps from GoogleMaps. I'm using this component because I'm going to have to trace the route of a vehicle coming from the database via model, then I'll use the co...
asked by 17.11.2016 / 22:35
1
answer

Save dataset C #

I'm looking for multiple database tables for Dataset through Stored Procedure on MySQL using MySQL Workbrenck, but at the time of saving only the first table is saved, my code: Stored Procedure: CREATE DEFINER='root'@'l...
asked by 23.11.2016 / 01:06