Questions tagged as '.net'

1
answer

Insert Data Error EntityFramework Core

Sorry if the question is very obvious but I'm new to the subject and looking in Google I can not find anything about what happens. I have the Next entity. public class Equipo { public int Id { get; set; } public string S...
asked by 09.07.2017 / 02:38
1
answer

Show buttons depending on quantity of equipment and XML information

This time my question is somewhat complex or at least for me since I'm starting with different functions in Asp.Net . To try to be very explicit, when starting my application, I generate several XML files where, for example, one is call...
asked by 22.06.2017 / 15:50
0
answers

Autorefresh DropDownJS

I'm trying to use dropdown js to load an image, but when I drag and drop that image, the page automatically reloads the data I had included in the form, what can I do there? This is the page of the library link and I'm trying to implemen...
asked by 30.05.2017 / 16:05
3
answers

WCF-Problem when implementing method with Entity Framework

I am developing an application in WCF. I have created a service and I need to implement a method that returns a list from a query to the Entity Framework by joining several tables with joins. I do not know if I'm doing well This is the code:...
asked by 04.06.2017 / 19:02
1
answer

File.Exists (path) returns unexpected result

I am new working with C # and I need to know if certain files exist in a directory, which is in the same location as the app. For this I use File.Exists(path) , but in all cases it returns false while the paths of the analyzed files...
asked by 18.05.2017 / 19:55
1
answer

Assign the default value to EditorFor, with current team date

Rescue the date with DateTime.Today or something else and assign it to the EditorFor, since the date is a string. <div class="form-group"> @Html.LabelFor(model => model.fecha, htmlAttributes: new { @class...
asked by 01.06.2017 / 05:26
0
answers

Join 2 graphs in c # with different scale

Greetings to all, can anyone help me with this question please? I have an application developed in C # that shows me on the screen bar graphs. I need to work them and join them through different scales, I have only worked with one scale, therefo...
asked by 16.05.2017 / 21:16
2
answers

Pass an array from classic asp to .net

Friends, I need to pass an array from classic asp to a dll made in .net, and in .net I wait for a string type [], how the hell do I do to pass that data from classic asp? Today I do it like this: Dim ws dim arreglo(0) Set ws = Server.CreateObj...
asked by 17.04.2017 / 23:15
2
answers

Error when exporting a (.rpt) to (.pdf) in .NET

Dim rutaDB As String = "C:\prueba\Crystal\bdfabrica.mdb" Dim informe As String = "C:\prueba\LisVolOperCliDetalle.rpt" Dim informePDF As String = "C:\prueba\LisVolOperCliDetalle.pdf" Public Sub imprimirInforme() fechaInicio = CDat...
asked by 05.04.2017 / 17:59
1
answer

"Hibernate" a process

I want to be able to hibernate a process, make it inactive, not run, but when you remove that state go back to where it was just before hibernating it. I have searched the internet for methods to do this, but I have not found anything. I tr...
asked by 26.03.2017 / 12:54