All Questions

2
answers

Field search in Ionic, I need to close when the user clicks "Go" or "OK" on the keyboard

I have a search field at the top, which is just a filter, like this: <div class="bar bar-subheader bar-light"> <label class="item item-input item-floating-label"> <i class="icon ion-search placeholder-icon"></i...
asked on 23.04.2017 / 13:55
3
answers

How to sort vector in descending order?

How do I place a vector in descending order? public static void vetor() { int[] vet = { 7, 4, 10, 8, 2, 5 }; Arrays.sort(vet); //Comando para colocar em or...
asked on 22.06.2017 / 00:15
1
answer

Apache how to redirect port?

How do I redirect my default Apache web site that is on port 80 to a web service on port 8080? I use CentOS 7     
asked on 25.05.2017 / 16:33
1
answer

Why use DriverManager for bank connection?

I'm connecting to the SQLite database with the following code: public SQLiteConnection conn() throws SQLException{ String path = System.getProperty("user.dir"); try { return new SQLiteConnection(path, "DadosPastas.s3db");...
asked on 26.06.2017 / 16:31
2
answers

How to make a user in SQL Server 2008 only view a VIEW?

I made a View to send to a client, but I can not pass the general login and password for it. That way I created a user ( cliente_view ) and I would like it to only view the created View (sales_view_view). How to do this process...
asked on 26.06.2017 / 13:29
2
answers

Difference from cout to printf in C ++

I want to know what difference I use in C ++ cout and printf , is it all the same?     
asked on 11.05.2017 / 22:59
1
answer

MVC versus MVVM

I can not differentiate between either MVC or MVVM. What really differentiates MVC from MVVM? In job interviews, they sometimes ask just that, how you differentiate one from the other.     
asked on 22.06.2017 / 15:08
1
answer

Individual User Account between MVC and WebApi projects

I have an MVC project with Individual User Accounts, I use Roles for access management and everything works fine. I recently had the need to create a file manager on another server, I created a WEB API project and I communicate via HttpClient, t...
asked on 04.06.2017 / 18:52
1
answer

HTTP Error 403.7 Forbidden - SEFAZ RS

I'm trying to access the authorization for RS invoice authorization . On access I get the following message:    Server Error in Application "PRNFH / WS / NFEAUTORIZACAO"   HTTP Error 403.7 - Forbidden   The page you are attempting to acce...
asked on 14.06.2017 / 14:59
1
answer

Change function with ion-selection-option

Alright? I'm having difficulties, I hope you can help me ... I'm studying Ionic 2 very soon and thought of making a simple application. In JavaScript I did it quietly, but with Ionic does not work. It is the onChange () method that in ionic I be...
asked on 09.05.2017 / 02:23