Questions tagged as 'c#'

0
answers

how to put the reminder class in a list; [closed]

I'm making an application that will be like a calendar and in it will have a part to save reminders, what I wanted to know is how to put the reminder class in a queue (several different reminders appear in the queue). CODE REMINDER CLASS:...
asked by 24.08.2017 / 14:55
1
answer

Persist the same record by different user [closed]

I've seen what it's like, but I do not remember how it does and not a key word for me to search. Suppose different users edit the same record, when the last user persists the information in the database, I want to show a message that this rec...
asked by 30.08.2017 / 14:20
0
answers

Multiple calls to webservice [closed]

I'd like to know the best way to make N calls to the same Webservice. Example: In a hotel search / quote system, as a strategy, we use N calls for a specific quote because each call is sent a different Business Agreement, then the best price...
asked by 06.09.2017 / 14:01
3
answers

Copy a file from the server to a local folder

I'm developing a routine for the purpose of copying files from the server to a local folder, but unfortunately it does not copy. The idea is that there are every minute the files are copied. I left a Sleep(5000) less to facilitate the...
asked by 06.09.2017 / 03:05
1
answer

Popular Listview UWP C #

I'm using a database with sqlite already done and with data in my application UWP and trying to display in listview the data that is in the Marcas table. What I have done so far was to create a class Marcas :...
asked by 17.08.2017 / 22:35
0
answers

Error calling route debugger

I installed the Route Debugger via NuGet: Install-Package WebApiRouteDebugger . When I run my application, and I call the route debugger ( link ), this exploits this error: But the System.Web.Optimization reference is added to the pro...
asked by 08.09.2017 / 12:03
3
answers

Send email asynchronously asp.net mvc

I have a form that returns ActionResult that sends an email after completing the operation. I would like to leave this email asynchronous, because it takes a lot of the time, I tried to put it in a Task using the SendMailAsync method of...
asked by 04.09.2017 / 23:51
1
answer

Using ArrayList to update information in C # "checkedlistbox"

Talk to me with a difficulty getting my strings to update my information. My scenario is this one currently: I have a checkedlistbox where I have my total strings are 9. In the data insertion part I can do it normally, but I do not know how to g...
asked by 05.09.2017 / 21:28
0
answers

System.InvalidOperationException

I have to convert a datatable to XML. My datatable has 68256 rows. When I serialize to XML, I get the OutOfMemoryException: Exception_WasThrown error. Here's the code I'm using to do the conversion: var ds = new DataSet(); dtDados.Tabl...
asked by 04.09.2017 / 15:01
1
answer

Is it possible to do assignment with shorter object initializer?

Is there any way for the third instance to work with subtraction? private void btnGrasieli_Click(object sender, EventArgs e) { /*Isto funciona Bbanco = new Banco(); Bbanco.Valor = Bbanco.Valor - 50;*/...
asked by 14.08.2017 / 04:59