Questions tagged as 'c#'

3
answers

Array of integers falls after execution

I have an array of integers that must change its value every time a function executes it. The problem arises every time it is executed, when going from number 1, it tells me Index was outside the bounds of the array This is my code:...
asked by 08.06.2018 / 19:31
1
answer

Abort by ajax a loop on the server c #

how are they? I have a problem that I do not know how to solve it ... I hope you can help me. I tell you, by ajax I make a call to the server that stays in loop until a card is passed through a reader connected by com port. If the user makes the...
asked by 10.07.2018 / 20:15
1
answer

does not show me the records of the query in the reportViewer

I have a button in my window when I press load the datagridview but do not load the data to the report viewer BUTTON CODE OleDbConnection connection = MSAConnection.getConnection(); OleDbDataAdapter adapter = new OleDbDataAdapter(); DataS...
asked by 05.06.2018 / 15:46
1
answer

WSO2 ESB connector oracle c # asp.net

I am using WSO2 Enterprise Service Bus (ESB) to use it as a WSDL data bus ... but now they are asking me to use another service that is capable of sending a query with parameters, from my application ( ASP.Net C # ) call it passing the param...
asked by 18.05.2016 / 11:48
1
answer

Error compiling Android project with Xamarin - Visual Studio 2015

When creating an Android project with API19 (4.4.2) in Visual Studio 2015, when I want to start the application I get these errors. Error N1: "aapt.exe" came out with the code -1073741819 . APP_Activity_Sync C: \ Program Files (x86)...
asked by 14.05.2016 / 04:42
1
answer

How to go to the column of a datagridview c # foreach

I need help how to do this I need to go through a column (amount) of the datagridview when the amount reaches 0 so that it does not let me insert products that do not exist and leave me a message that there is no stock (no products) Any ideas?...
asked by 13.04.2018 / 14:40
2
answers

Custom App.Config configSections

I'm trying to add customs values, outside of appSettings, because I need to map these values and take them as part of an object ... In this same forum but in English, I read how to do it and try to replicate it without success .. this is my A...
asked by 01.06.2016 / 20:02
2
answers

JObject throws me an error when I try to get the result of a JSON

I'm calling a Rest API. When I call it, I drop it and it gives me the following error.    Error reading JObject from JsonReader. Current JsonReader item is not   an object: StartArray en la linea JObject.Parse (resultWebService.ToStrin...
asked by 13.08.2018 / 14:39
3
answers

Problem identifying process "Process []"

I have a problem reading and identifying a process, it turns out that they are 3 different processes but they have the same name, the only thing that differs is the PID and the Command line I am using the following line of code: Process[] p...
asked by 08.08.2018 / 19:24
3
answers

how to enable a button, with IsEnabled disabled

I'm using visual studio 2017, I tried it with IsEnabled but it does not re-enable me the button I need, that enables me and can be used with the WPF private void CboTipoVehiculo_SelectionChanged(object sender, SelectionChangedEventArgs e)...
asked by 26.06.2018 / 22:21