Questions tagged as 'c#'

0
answers

SQLTableDependency does not work after Restore the Database

Dear I was practicing receiving notifications of changes in the Tables with SQLTableDependency in a testing environment. I did not have any problem, but then when I took the database to a production environment (Backup and then Restore) it did n...
asked by 01.01.2019 / 18:49
1
answer

Validate an int and pass it to string

Good people, how are you? , I'm new to programming and I have a doubt Console.WriteLine("Ingresar un tipo"); int unTipo = Convert.ToInt32(Console.ReadLine()); if (unTipo == 1) { } As you can see in the code, it is a console test in C # an...
asked by 06.04.2017 / 21:14
0
answers

Problem with the visual studio chart control in C #

I'm trying to make the values that are entered in a datagridview appear in a chart of the Chart control. I have two problems: What I want is to generate for each row that I have in the datagrridview a new series that must be painted on th...
asked by 29.12.2018 / 17:36
0
answers

Routing comes out with / at the end of the asp.net URL WEB FORM

When I route my url, it comes out in the following way (locally)    localhost: 7876 / Camino But when I upload it, it looks like this: (server)    pagina.web.com.pe/Camino / I would like the last "/" not to come out, could someone...
asked by 27.12.2018 / 15:16
2
answers

Manipulate JSON with numeric headers

Good afternoon colleagues, I'm consulting a WS that returns a json like the following. { "data": { "1130987": [ 1130987 ], "1230988": [ 1230988 ], "1331027": [ 133...
asked by 28.12.2018 / 19:04
2
answers

C # MVC Core.Net 2.1 A Layout shared between different web projects in the same solution

In C # .Net Core 2.1 I currently have a solution composed of several web projects (MVC) and these must be managed in a common front, that is to say that you must navigate through the pages of the different projects from a single application. Thi...
asked by 27.12.2018 / 21:38
1
answer

How to update WIX Binaries setup

I currently have a project in asp mvc4, and there is a wix setup project generated; Solution Explorer: Projec1 (mvc) Properties References Content Controllers - ... Project1.setup * (wix setup) * References...
asked by 27.04.2016 / 10:40
1
answer

DataGridView placing the pointer in row created

At the moment of creating a row in a DataGridView I want the pointer to be in the new row created in the cell of the second column as I show in the imgagen. Every time you create a new row, the cursor should be displayed in this way, ready...
asked by 01.05.2016 / 18:07
1
answer

Customize headers with IHttpActionResult?

Currently I have a method that returns a list of cities, the method I have it in the following way: [ResponseType(typeof(List<Cities>))] public IHttpActionResult GetSourceCities(int idPais) { try { var cities = GetCities(...
asked by 27.04.2016 / 21:03
1
answer

Trampolin problem in Unity

I recently started programming at Unity so I'm pretty new to what it means. I've been trying to make a kind of "springboard" or spring in a 2D project. I tried to do with the Spring2D components but I still did not find a way to do it with this,...
asked by 20.12.2018 / 00:55