Questions tagged as 'c#'

1
answer

How to pass data from an activity to a dialogFragment?

In my activity I have this: mBtnSignUp.Click += (object sender, EventArgs e) => { //Pull up dialog FragmentTransaction transaction = FragmentManager.BeginTransaction(); dialog_Sig...
asked by 27.04.2015 / 17:23
0
answers

Split access between the new site and the old one

I'm going to publish a new site and I wanted only a few accesses to go to it so that I can evaluate its operation and the other accesses will be forwarded to the current site. Facebook does something similar when it launches a new interface. The...
asked by 08.05.2015 / 16:07
0
answers

User Settings

I'm mean noob in c# and would like help in an application I'm running. In this application I need the user settings to be Default , but I do not know a way to do this. I'm developing in WebForms. Can anyone help me? A snipp...
asked by 25.05.2015 / 20:22
0
answers

Hosting of mvc 4 site with problems in godaddy

I recruited godaddy to publish my site made in mvc4 and framework 4.5. But when running the site, all the error    500 - Internal server error. There is a problem with the resource you   are looking for, and it can not be displayed. I...
asked by 30.05.2015 / 06:54
2
answers

HttpPost action returning null values

I'm developing a web (intranet) system for handling requests in ASP.NET MVC 4 C #. Below are my MVC where I have questions. I'm having a hard time with the HttpPost of a Tipada View, which is returning null value for the "REQUEST" property of th...
asked by 29.05.2015 / 22:52
0
answers

Log in automatically to a web-site C # Programmatically

The company I work for has 3 websites both with login and password I would like to know something in C # .NET or Javascript that is from a redirect link. 1 Step: Access the Site 1 www.site.com.br 2 Step: Login Site 1 Step 3: Within Site...
asked by 02.04.2015 / 21:37
1
answer

Fileupload returning the same file from several selected

I have a Fileupload that I select several files and I save it in the directory, but I noticed that FileBytes of it, it also repeats in all the files. if (FileUp.HasFiles) { foreach (HttpPostedFile uploadedFile in Fi...
asked by 23.03.2015 / 15:05
1
answer

Postal Code in C # [closed]

Does anyone know how to get all the zip codes from Portugal to use in a C # program? I've tried to search but I can not find anything concrete, so is there anyone who can help me? Thanks     
asked by 12.05.2015 / 13:01
1
answer

Save item in Combobox [closed]

I have a combobox with some items added via form, by the Items (Collection) property. I would like to be able to leave to the user, typing new texts in this combobox, which in my case, is a combobox of product categories. I created a code...
asked by 20.04.2015 / 00:28
1
answer

How to start a ConsoleApplication that generates all objects in the database equal to CodeFirst

Hello! to all I'm starting a project in Console Application in C #, I've read a lot about Entity Framework, Code First, Migrations. The purpose of this project is to generate all the tables of a database schema in Data Models, I ask your h...
asked by 20.04.2015 / 18:30