All Questions

2
answers

Calling the Javascript function from the parent file from within an iframe

I have 2 files: index.html iframe.html The file index.html has an iframe ( iframe.html ). There is a javascript function in the file index.html function testePai(){ console.log("teste da função...
asked on 07.05.2014 / 19:21
2
answers

In which scenario is it recommended to use KeyedCollection instead of a Dictionary?

I did not know of the existence of KeyedCollection until you see this #
asked on 27.03.2015 / 11:58
2
answers

Relationship 1 to 1 with Entity Framework

I have 2 entities: Equipamento and Databook . A Equipamento can only have a Databook and a Databook is only a Equipamento . How can I make this relationship with Entity Framework? Follow the Classes:...
asked on 24.10.2014 / 01:16
3
answers

How to separate a string from a certain row in a data.frame and at the same time create more rows?

I have a data.frame with a column with strings of type "123-235-203". For example, the line:    string column1 column2   123-235-203 x and I want to separate this string, so that the line containing it will multiply preserving the va...
asked on 30.04.2015 / 02:00
1
answer

How to fix EntityValidationErrors

Hi, I need some help. After compiling my project I'm getting an error:    Validation failed for one or more entities. See 'EntityValidationErrors' property for more details. I have already discovered that this error is caused in the execu...
asked on 30.05.2014 / 05:26
2
answers

What is the equivalent of if ($ _ POST) in .Net (ASP.Net MVC)?

I'm coding a page in Visual Studio, in ASP.Net MVC, and I need to display a div only when there is a POST on this page. This is a form that will make POST on the page itself. When there is POST , I'll send a commit...
asked on 01.09.2014 / 18:32
2
answers

In SQL queries should I follow the index order?

If in my table X is created an index with fields A, B and C (in this order), in SQL queries should I follow exactly that order? Example following the order of the index: SELECT * FROM X WHERE X.A = VALOR_A AND X.B = VALOR_B AND X.C =...
asked on 04.07.2018 / 19:40
4
answers

Removing numbers at the end of a string Regex C #

I have a string that contains the names of some records. Examples: string nome = "MARIA APARECIDA DE SOUZA MOURA 636598241"; string nome = "MARIA APARECIDA DE SOUZA MOURA 2018"; I would like to remove the numbers only when they are at th...
asked on 17.01.2018 / 14:05
2
answers

Controlling extra inputs and outputs on Arduino Uno and Mega 2560 via software

During the development of an Arduino project, I needed more digital (input and output) terminals than those indicated on the board. Is it possible to control, via software, extra digital (pin) terminals on the Arduino Uno and Arduino Mega 256...
asked on 24.04.2014 / 18:22
1
answer

What are the pillars of object-oriented programming?

In general, I've seen a few places saying that object-oriented programming has 3 fundamental pillars, in others I've seen it saying that they are 4 pillars. How many and what are the pillars of object-oriented programming? How do these pil...
asked on 26.06.2017 / 20:28