Questions tagged as 'c#'

0
answers

Questions with Navigation Properties and FK with Code First

Why in this code was the IdGroup property and not the navigation property identified as the foreign key and what would be the correct way to apply the foreign key? public class Grupo { public Grupo() { Produtoes = new List<P...
asked by 10.09.2015 / 01:22
1
answer

Refresh image whenever a new one is chosen?

I'm using the following code: private void foto_Completed(object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { // se teve sucesso na escolha de uma imagem da galeria BitmapImage imagem = new BitmapImage(); // cr...
asked by 25.08.2015 / 15:41
0
answers

WebService VB passing parameters to C #

Good morning, We have two systems, one is in VB and the other in C # an identity manager (which serves to unify the login, we will put more systems inside it so that there is only one login user), we have to pass the User and the application...
asked by 10.09.2015 / 16:03
1
answer

Strange error on screen, debug does not show nda

InWebform,itisgivingsomeerror,thatwhendebugginginVisualStudio(f5)itdoesnotacknowledgeanyerror,howeverwhenitexitstheresultinthescreenwouldbelikeaninternalerror(500)ItdoesnothaveanyAJAXorsomethinglikethatisjusta'theoreticallysimple'pageDoubt:Isth...
asked by 27.08.2015 / 19:49
3
answers

dynamic dropdown list and bd image return does not work

Dropdown dynamic list and database image return does not work after the application is published in IIS. When I inspected through the browser I had the following error:    HTTP Error 404.0 - Not Found (with following request: link )...
asked by 27.08.2015 / 18:13
0
answers

Modularize WinForms

I have the following scenario, 1 System Containing several features of these features, there are some that are similar (Changes According to User Profile). But I'm having trouble organizing this in the project. I'm creating a base sy...
asked by 10.08.2015 / 21:14
1
answer

Create textboxes in a quantity determined by the user?

In a form the user can choose the amount of images that he can by, for each image I must create a texbox to put the URL of each image. It will determine this amount through NumericUpDown , so I have to read the value of it and apply it to...
asked by 20.09.2015 / 16:28
0
answers

I went to make a game in unity and gave the error NullReferenceException

Thecodeisthis:using UnityEngine; using System.Collections; public class EnemyAttack : MonoBehaviour { public float timeBetweenAttacks = 0.5f; public int attackDamage = 10; Animator anim; GameObject player; PlayerHealth pl...
asked by 01.08.2015 / 01:24
0
answers

I went to make a game in unity and gave the error NullReferenceException

Thecodeisthis:using UnityEngine; using System.Collections; public class EnemyAttack : MonoBehaviour { public float timeBetweenAttacks = 0.5f; public int attackDamage = 10; Animator anim; GameObject player; PlayerHealth pl...
asked by 01.08.2015 / 01:24
1
answer

Angularjs with Guid in Asp.NET MVC

I am using AngularJs for the first time and I would like to know why this is not possible, I notice that during the debug, there are several Parse errors inside the min.js of the angular, I believe that is why the type I am passing for his contr...
asked by 31.07.2015 / 23:28