Questions tagged as 'c#'

1
answer

Control time to return the timeout

See the scenario: I have a procedure that running right through SQL takes about 50 seconds to return the data. However, when this same procedure is executed via the system, from timeout in 15s. My question is, would it be possib...
asked by 20.06.2018 / 19:09
1
answer

Web Tracking Service Post Office

I have often read the manual for using the web crawling service ( link ) and I could not figure out how to get the username and password to gain access. Please, I am trying to understand and I can not.     
asked by 03.06.2018 / 03:04
1
answer

C # Lambda with 2 tables

I have the statement below, in C #, and would like to include an existing information in another table, such as the apartment column (existing in the condomino table). return GetUltraGeneric<Usuario>().Where(p => p.condominio == Const...
asked by 03.06.2018 / 03:38
2
answers

Problem with connection variable to Bank C # Visual Studio

I have my connection string that takes the connection variable from the App.Config static String string_conn = ConfigurationManager.ConnectionStrings["bd1"].ConnectionString; But I put a function that lists the banks in a Combobox in the lo...
asked by 31.05.2018 / 20:15
1
answer

C # - Add MouseHover to each Button in a FlowLayout

How do I add a MouseHover event to every existing button in a FlowLayoutPanel? I want the mouse pointer to change to "Hand" when the mouse pointer is flipped on each button in this Panel and the background color of this button is a lighter bl...
asked by 28.05.2018 / 11:09
1
answer

Use ILogger with .Net Core 2

I am studying .Net Core 2 and I have a question. I am trying to get error in my Repository layer and only saw example in Controller. Any specific reason for this? Here are my codes: appsettings.json { "ConnectionStrings": { "Defaul...
asked by 27.05.2018 / 02:02
1
answer

Button making submit to action instead of opening only Modal

I am putting together a Modal to add a category and a list of products in a modal. When I click the button to add a new product my category Create action is called when it should only open the modal. I do not understand what is wrong for t...
asked by 20.05.2018 / 01:37
3
answers

How to know the status of a document pending settlement in the api?

I needed to know, what is the status of a pending API document. We imagine that I am making a settlement of an invoice that is pending, and this invoice could be for example in the state "PEN" (Pending) or in the State "PR" (Interim), I to make...
asked by 18.05.2018 / 18:39
1
answer

Problems with AutoMapper and List

Personal I have the following code: List<NFE_CABECALHOEntity> lista = new List<NFE_CABECALHOEntity>(); Mapper.Initialize(cfg => { cfg.CreateMap<NFE_CABECALHO, NFE_CABECALHOEntity>(); });...
asked by 14.05.2018 / 21:07
1
answer

C # BD .mdf connection string

Good evening guys, I have a .mdf database in a Windows Forms and I want to make the connection string it, can anyone help me? My version of Visual Studio is 2015 and the file is in: C: Documents \ Visual Studio 2017 \ Projects \ Projects \ Final...
asked by 11.05.2018 / 04:49