Questions tagged as 'visual-studio-2015'

0
answers

MVC 5, DropDownList cascading

I have the following problem: suddenly, my solution is the one you are looking for in the part of the controller that is needed for your model. I have the following problem, what happens is that if I give the apartment and then the city,...
asked by 08.09.2016 / 20:05
2
answers

Interpolate C # 6 strings

I am interpolating strings and at the end of the line of code when I put the ; it gives me a message ( Empty statement is redundant ), but it still compiles the code, I show image. The code is as follows: static void FillTheseV...
asked by 03.10.2016 / 22:50
5
answers

Visual C # - Open form already created, Windows Forms

I have the initial form called "start", and a button called "run". Now I have created an additional form called "runf". How can I open "runf" from the "run" button. I have tried to look on the internet, and the answer is the following .. Form...
asked by 07.07.2016 / 01:14
2
answers

How to make a Regex pattern in C # with the character '@'?

Good, I want to make a Pattern Regex to verify that in a chain there is the arroba character in the middle of two text strings in C #, the conventional: [email protected]. if (Regex.IsMatch(email, "\@{1,1}")) { //Codigo } In t...
asked by 28.09.2017 / 15:32
2
answers

Save value in ASP.NET MVC5 variable

I need to save IDs that pass through the url    link I need to capture that "1009" value and take it to a <input name="codigo" type="text"class="form-control" value="AQUI NECESITO QUE ESTE ESE VALOR DE LA URL"/> I need to sa...
asked by 28.03.2017 / 17:11
2
answers

Monitor process when closing C #

I have a problem with the following code, what I try is that a process calling ffmpeg that runs inside the system is closed giving a warning that the work is finished. private void btnIniciar_Click(object sender, EventArgs e) {...
asked by 16.01.2017 / 05:15
3
answers

Multiple models in an ASP NET MVC view [duplicated]

Hello friends I'm still stuck with this, someone can help me out ... This is my error: These are my models and my htmlCs //kyo es el nombre de mi vista, este es el controller //GET: Home/kyo [Authorize]...
asked by 14.09.2017 / 20:02
2
answers

license system in VisualStudio

Good Night Sres. at the end, finishing a project in VS2015 I would like it to detect when it is installed on a PC and deactivate it to avoid piracy I was reading about Sign an assembly but when I activated it and generated a .exe e...
asked by 27.11.2016 / 06:14
4
answers

Ladder poker in c ++

I have to make a program that identifies a poker hand in C ++. The user will say how many cards he has and he will write a number from 0-51, being 0 = king, 1 = as, 2 = two, 11 = jack, 12 = queen ... and 0-12 spades, from 13-25 they are diamonds...
asked by 13.10.2016 / 20:18
2
answers

Add value of a Foreach in MVC5 controller

I need to add the weighted the times the cycle is run and show it in builder.Append(total suma ponderados).Append(";"); , my code is as follows: foreach (var item_ponderado in listobjetivos) { var ponderado = (item_ponderado.p.Peso_O...
asked by 17.07.2017 / 20:47