Questions tagged as 'c#'

3
answers

How to solve this problem of report viewer, not encotrado in a Windows Form application?

I have a problem. I just compiled a windows form c # project, and from the project's debug folder I copied and pasted the content into a client's machine, but the problem is that when I open the reports it tells me this error. It is possib...
asked by 16.05.2018 / 21:00
1
answer

Why can not find my code behind variable in c #?

I want to get a variable from my code behind in c # but I get the following error: Compiler Error Message: CS0103: The name 'qrp' does not exist in the current context But if I correctly declare my variable: public string qrp { get; set;...
asked by 16.05.2018 / 20:24
1
answer

Does not load the frontend when accessed from outside the server

I have a .NET web application developed with C # MVC4. It is hosted on an IIS running on Windows Server 2012, and running, as long as it is accessed from the server as follows:    link But when I access from outside the server    li...
asked by 08.09.2016 / 17:54
1
answer

Converting Collection from VB to C #

In a conversion from vb.net to C# I have the following Line: Public Function getImageData(ByVal sImageID As String, ByVal rutaConfiguracionImagenes As String) Dim caracteristicasImagenes As New ArrayList Try Dim datosImagenes...
asked by 04.12.2018 / 13:27
2
answers

Someone could help me because I get this error in c #

The error is given to me in parameters in this part He tells me    You can not convert sapestructura to system collections.Generic.List.   enSAPConnector.RunSAP Function ("ZMM_B2B_ENC_RESPUESTA", parameters); public class RespuestaEncu...
asked by 26.12.2018 / 16:22
2
answers

close Bootstrap modal popup

I'm trying to close a modal bootstrap window with a url returned from the ActionResult, but for some reason it's not working: This is my script: $('form').submit(function () { var $form = $(this); $.ajax({ url: this.acti...
asked by 14.05.2016 / 22:50
1
answer

Thread, listbox and an infinite loop [closed]

I try to make a windows desktop application in C # and what I'm trying to do is have a button that activates a thread that shows an infinite loop in a listbox that can be stopped with another button, I'm new to threads so I do not know how to st...
asked by 16.07.2018 / 19:52
2
answers

Connection problem in MySQL and VisualStudio for a Login [MySql.Data.MySqlClient.MySqlException] [closed]

   MySql.Data.MySqlClient.MySqlException: 'You have an error in your SQL   syntax; check the manual that corresponds to your MySQL server version   for the right syntax to use near '' 12345 '' at line 1 ' I have a problem, at the moment of pl...
asked by 02.10.2018 / 15:41
1
answer

Why do not you execute the validations that you assign

public static int ValidarUsuarios(Constructor_Login add) { int Admin = 3; int Gerente = 1; int Empleado = 2; int retorno = 0; int nevel = 0; MySqlCommand actusuario = new MySqlCommand(str...
asked by 19.09.2018 / 00:57
1
answer

Read excel with a large number of columns in C #

Hello dear developers, I have a small problem, it turns out that I am reading excel sheets in a console program and I play an excel that has a lot of columns (Until the column ABT) and my excel dataset only reads up the column WZ and I do not kn...
asked by 12.11.2018 / 19:07