Questions tagged as 'c#'

1
answer

OCI-22053: overflow error - C #

I'm developing a web application in MVC with C# . I made a method that makes a select in my bank oracle and with the value returned I fill in a DataTable . But it returns an error when I run " dataAdapter.Fill(resultado)...
asked by 12.02.2014 / 13:30
1
answer

How to change component attributes between Forms? [duplicate]

I have a C # application with a parent Form (FRM_PRINCIPAL) that contains a button (BTN_ACT) that calls a child Form (Form2), which in turn contains a button (BTN_REG) containing some functions, the BTN_ACT in invisible (BTN_ACT.Visible = Fals...
asked by 01.08.2014 / 03:14
1
answer

Activity does not open

Well, I created two Activity's when I clicked on the first button and it should open the second with information received from the first one. But is not that what happens, where did I go wrong? using System; using Android.App; using Android....
asked by 04.08.2014 / 03:43
1
answer

Error "A graphic element with a name of '0' already exists in 'SeriesCollection'"

I'm doing a program to do the image thresholding, and wanted to show a graph with which grays most appear in the image. The first time the program works normal, but in the second it gives this error:    "A chart element with a name of '0' alr...
asked by 03.11.2018 / 19:21
1
answer

Asp.Net Core WebApi returning object list

I'm trying to return a list of a "Plan" Template which has a list of "Expenses", returning only the list of plan works, but when I add to return the list of expenses of an error in javascript. "Failed to load resource: net :: ERR_SPDY_PROTOCOL...
asked by 04.11.2018 / 00:38
1
answer

Create new directory according to string

I have a function that saves an image to a standard directory for all companies, and I tried to change it to save to a directory according to this companyFolder string I created. But this is not getting saved. How can I do this? [Htt...
asked by 18.12.2018 / 12:19
1
answer

Move TextBox created by code

I'm trying to move a TextBox that was created via code, down. Here is the code where I create and add the button: private DVJPetControles.TextBox txtHorarioCheckin; this.txtHorarioCheckin.TituloLabel = "Horário de Check-in"; this....
asked by 22.11.2018 / 12:22
1
answer

How to call a modal in View by Controller's ActionResult

How to call a modal by ActionResult of the Controller, after the user clicks the button to register? Currently the controller is redirecting to the index page after the user signs up. I want instead of redirect, call the modal that is in the...
asked by 25.10.2018 / 17:48
1
answer

ASP.NET MVC - How to upload a file with more than 5mb using ajax?

I'm using the following code to upload files: HTML: <form action="/Employee/FileUpload?UnityId=1&amp;ObjectId=1" data-ajax="true" data-ajax-failure="OnFailure" data-ajax-method="Post" data-ajax-success="OnSuccess" enctype="multipart/...
asked by 25.10.2018 / 22:50
1
answer

Isolate Presentation Layer Domain

Good software architecture practice says that the presentation layer does not must know the domain layer. I'm trying to make this isolation between these layers, but the which is making this separation difficult is the mapping framework of objec...
asked by 23.10.2018 / 18:01