Questions tagged as 'c#'

2
answers

Help with traversing json in c # mvc

Friends, I appeal to you again, what I want to know is how I can travel this json. {"codigo_postal":"84100","municipio":"Nogales","estado":"Sonora","colonias":["Aguajito de la Morita","Felizardo Amador","Hector Soto","Jorge Leal","La Morita (E...
asked by 25.02.2018 / 19:15
0
answers

Export PDF with itexsharp asp.net c #

I am doing the export of 2 PDF. I comment more detailed to generate those 2 pdf I want to be downloaded by pressing an EYE button (the PDFs are different) but the moment you run and it ends in response.end () it stops and you no longer down...
asked by 23.02.2018 / 22:35
0
answers

TabPages.Add does not show tabpage in C # Win Form execution

Create a class called Class1 to design a Tabcontrol but I have trouble adding a tabpage within it. with the Tabcontrol component that brings visual studio I use: Tabcontrol.TabPages.Add but it does not work on the class that believes. Has...
asked by 23.02.2018 / 20:32
0
answers

query webbrowser c #

I have a question if this can be stated like this because I am reading the same URL instead of the ones listed, I do not know if I have to destroy the object "browser" or how would it be? I'm new using this for (int i=0;i<listView1.Items....
asked by 23.02.2018 / 17:58
1
answer

Create URL with .NET MVC Resource Files?

Basically in my RouteConfig.cs I am trying to map a route that varies depending on the current browser language. What I'm trying to get to is a dynamic path like: /books-with-description/ /libros-con-descripcion/ these strings are const...
asked by 23.02.2018 / 14:55
1
answer

Adapt WindowsForms form to screen, C #

First of all NO I'm talking about making the form WindowsForms to mode responsive . My main form is designed with a resolution of 1340 x 760 with these properties established in the following way: FormBorderStyl...
asked by 23.02.2018 / 13:39
0
answers

Problem when running Program in visual studio using vsn

I am working on a project that has versioning through VSN, I use C # in Visual Studio 2012 when I downloaded it from the server the first time and I execute it there are no problems, but when I did an update and a commit it started to give me t...
asked by 22.02.2018 / 17:22
1
answer

DataAnnotations [Required]

I have this ViewModel: public class ActividadViewModel { [Required(ErrorMessage = "Debe ingresar el tipo de actividad")] [Display(Name = "Actividad")] public string TipoActividad { get; set; } [Required(ErrorMessage = "Debe in...
asked by 23.02.2018 / 03:14
0
answers

How to send a string to the IN clause in the stored procedure (oracle)

I find myself doing select to a table by means of where campo in (id1,id2...) . My doubt arises in how to send the string as an input parameter to the Oracle stored procedure. Then I present what I have tried so far. From C # I s...
asked by 23.02.2018 / 01:03
0
answers

like invoking a report multiple times in a single pdf with reportviewer c #

I want to show the same pdf report several times in a single pdf with reportviewer . this.ReportDataSets = new List<ReportDataSource>(); this.ReportDataSets.Add(new ReportDataSource("DataSetDetalleRecaudoICA", ListaDeRecaudoICA));...
asked by 19.02.2018 / 15:07