All Questions

1
answer

How do I maintain a ViewBag for all Controllers?

I'm developing on ASPNET MVC 4 with Razor. I made the login page and everything is ok. After the login, the famous phrase "Welcome FLAVIO" is being successfully returned, via ViewBag. As I'm doing a redirect, then I'm doing this in Acti...
asked on 19.09.2014 / 00:22
1
answer

Development C # Mobile need Mac?

I was researching on mobile development tools (iOS, Android) and came across Xamarin. I found the proposal interesting, especially for working in conjunction with Visual Studio. I downloaded and configured it, however, despite having an inter...
asked on 08.10.2014 / 22:37
1
answer

How to execute a javascript function from a json file

I have a json file that is generated by php and it looks like this: { "status":200, "command":"faca algo", "action":"function (){document.write('quer que eu faça algo?');}", "type":"acao" } How to execute the function...
asked on 07.10.2014 / 02:23
1
answer

SQLite Android data insertion

What is the best way to insert more than 10000 rows of data into a table consisting of 13 columns using SQLite Android? I thought about using ContentValue then: Db.insert(DATABASE_TABLE, null, ContentValue);     
asked on 24.10.2014 / 16:21
2
answers

Get parameters passed by url on another page

I have this call to another page, passing 2 parameters. Response.Redirect("/frmPVFichaCadastral.aspx?CdProcesso=" + vhdfCdProcesso.Value + "&CdTipoUsuario=" + vhdfCdTipoUsuario.Value) How do I get these parameters passed here on this pa...
asked on 20.11.2014 / 19:24
1
answer

You are not generating the 1000 random numbers required

I'm developing a program in C that randomly generates a thousand numbers and that in the end appears the largest and smallest of them. For this, I'm using rand() . But I have a problem. When I run only less than 300 numbers are generate...
asked on 05.11.2014 / 22:06
3
answers

How to traverse a children and a div with JavaScript?

I need a function that traverses #paicasas and leaves the background of all children "casa1, casa2 ...". I tried to do this but I know it's far from right. function apagar(){ for(var i in document.getElementById('paicasa...
asked on 10.11.2014 / 21:12
1
answer

How to check if a Font is already installed

I have a C # program that checks whether a font is already installed or not, but it is not working right: I'm trying with the following code if (File.Exists(@"C:\Windwos\Fonts\Agency FB")) Would anyone know how I can verify b...
asked on 19.11.2014 / 13:24
2
answers

How to break the line at the VisuAlg prompt?

My output:    Name: So-and-so: so many years How to break the line at prompt of VisuAlg? To look like this:    Name: So-and-so       Age: So Many Years     
asked on 16.10.2014 / 14:29
1
answer

Functional programming: applicability of parameters (.x) and (.) in purrr :: map

I am migrating to the package purrr , mainly in relation to the use of the map function. But, I'm having a hard time understanding the concepts of functional programming in purrr . I would like to learn to apply the (....
asked on 04.01.2019 / 16:36