Questions tagged as '.net'

2
answers

I have a problem about string format c # I have my code with more than 12 digits and the excel is shown as 2.34234E + 17

VISTA <table id="t01"> @{ if (ViewBag.TipoReporte == 1) { <tr align="center" valign="middle"> <th colspan="10"><h1>STOCK GENERAL</h1></th> </t...
asked by 27.02.2017 / 15:34
0
answers

C # - Create a Setup for a Windows Service with Timer

Recently I created a windows service with System.Timers.Timer , this service will fulfill a task of creating a .txt file every minute (1 minute). p> PROBLEM After creating your Setup (installer) and can install it on my own PC or on a...
asked by 03.01.2017 / 22:25
1
answer

How to get an image from a vbhtml view

Dear, how can I get an image from a vbhtml view in this format: @Html.LabelFor(Function(m) m.FchNacimientoPER) @Html.TextBoxFor(Function(m) m.FchNacimientoPER, new With {.class="form-control"}) I want to get the image as an...
asked by 25.11.2016 / 20:32
0
answers

Oracle - Entity Framework - Stored Procedures - Cursors

Any ideas to solve the following: Current Scenario. I have stored procedures in Oracle which return the result of a Select in a cursor. This procedure is mapped with EF, which automatically generates a complex class based on the cursor column...
asked by 18.11.2016 / 15:15
0
answers

Problem with DataAnnotation

I have a problem with a custom DataAnnotation. public class RequiredInt32 : ValidationAttribute { protected override ValidationResult IsValid(object value, ValidationContext validationContext) { if (value != null) {...
asked by 12.10.2016 / 02:59
1
answer

Insert user role automatically

I have this structure and I am working with ASP MVC. I want to make a user registration and what I want to do is that when the user registers, add a role automatically. As you can see, there are different users so I just want to make a single...
asked by 02.10.2016 / 05:12
0
answers

SmtpExecption in windows Ce when emails are sent

When I execute my command to send emails I get the error SmtpExecption , as I could solve this problem, the method that I am sending it is with OpenNETCF using OpenNETCF.Net.Mail; using OpenNETCF.Net; The error that is thrown is the foll...
asked by 24.08.2016 / 19:02
1
answer

Crash when assigning RenderTransform with ScaleTransform in win7 and some win10 installations

Crash when assigning RenderTransform with ScaleTransform in win7 and some win10 installations this.RenderTransform = scaladoDePantalla; en constructor. public Clientes(Window mainWindow, ScaleTransform scaladoDePantalla, List<Object> _l...
asked by 10.08.2016 / 16:38
1
answer

Transform document xls / xlsx to html - without interop

I have a document xls and another xlsx already saved in bytes[] in my code and I need to pass it to html+css to be able to display it on a page. It is important to point out that I also need the css and that...
asked by 19.07.2016 / 11:00
1
answer

VB.net, Conversion XML format stored in Access

I'm doing a program in .net, which should bring some Access data and save it in a file, among these data is an XML, which changes the format when saving it in a file. Code to search the XML: Public Function Buscar_XML() conecta() s...
asked by 10.06.2016 / 15:42