All Questions

1
answer

Mount a local package manager (NuGet)

Due to a huge problem that happens here in the company, such as package dependencies, then the company decided to create a private%, which runs locally. The purpose of this is when anyone downloads the source code of our applications, he already...
asked on 14.12.2015 / 17:27
2
answers

SQL Server: how to create range of values based on a column with monetary values

Hello, community! I need a SQL query with the values of a table field of SQL Server 2012 shown as frequency distribution. Let's say I have the field Sales (in R $), type float. The lowest sale recorded was R $ 0.01 and the highest of R...
asked on 30.11.2015 / 20:46
2
answers

Error while executing project in Visual Studio 2015

When compile gives sucessfull , but when I try to run my project I get this error below. Can anyone help or give me a hint? I use visual studio 2015.    Severity Code Description Project File Line Error Could not write lines to fi...
asked on 24.11.2015 / 17:53
3
answers

Why should I use the typeof keyword to assign a data source to a BindingSource.DataSource?

For example: BindingSource bs = new BindingSource(); bs.DataSource = typeof(object); For what reason should I use typeof(object) instead of just object or even "object" ? edit: As others have asked, here is...
asked on 01.12.2015 / 00:26
3
answers

How to use a value from a dictionary to call a specific function in Python?

I'm trying to use a dictionary to identify each function to a value, and call them through the program. My code is below (example): #!/usr/bin/env python menuOpt = { 1 : "valor", } #Main if __name__ == "__main__": print "Valor" men...
asked on 28.11.2015 / 00:41
1
answer

Pass an object to a modal Bootstrap

I need to pass a database object to a modal when I open it to show the object information. Is it possible to do this? follows the cshtml of the view in which the modal button is called, it opens correctly but I can not pass the object informa...
asked on 10.12.2015 / 20:10
2
answers

mPDF - Error generating PDF | Message: preg_replace ():

I'm using mPDF to generate the PDF: $this->load->helper('mpdf'); $this->data['dadosboleto'] = $this->boleto_model->GerarBoletoCEF($id_cliente, $data_inicial, $data_final); $this->data['view'] = 'boleto/bole...
asked on 26.11.2015 / 05:20
2
answers

T-SQL with like sensitive to case

Is it possible to query in SQL Server 2008 with like sensitive? Actually, I'm looking at a column with a list of acronyms, which represent system flags, which are case sensitive. The question is not about the performance of this search, since...
asked on 30.01.2014 / 13:46
1
answer

How to add a class to multiple cached elements at once?

In jQuery, we can add CSS classes to multiple elements, but with the element already cached in a variable, how can we perform the same operation? Example: // adicionar classe a ambos os elementos $('#myEle, #anotherEle').addClass('johnDoe')...
asked on 16.12.2013 / 17:24
1
answer

How to change the wordpress blog title in php?

I'm in the final stages of developing my blog in wordpress and a few months ago, when I started developing I put a título , but after a lot of research I decided to change it, because I found another similar one. mine is unique - so...
asked on 19.12.2015 / 01:28