Questions tagged as 'c#'

0
answers

How to show a value in a select of an edit view (scafolding) from a model

<div class="form-group"> @Html.LabelFor(model => model.Cantidad, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> <select class="form-control" id="Cantidad" name="Cantidad">...
asked by 26.06.2018 / 19:04
0
answers

Call a form and it shows on the second screen connected to the PC

I want that when touching a button, a form appears on the screen that I have connected, as does Microsoft PowerPoint. In summary as a presentation with slides. Also, how to make the form appear in full screen, as when you watch a video in YouTub...
asked by 28.06.2018 / 17:39
1
answer

Value can not be NULL when you insert an image

When I try to insert an image to the MySQL database everything works normal, but when I run a function that makes the size of my image smaller and try to insert it, it shows me an error that says this is the code to select the image: pri...
asked by 26.07.2018 / 20:04
1
answer

EF CodeFirst and .net MVC Error in insert with ID as Identity

I am developing a login system in MVC, which includes the following entities: Subject, User and Roles The model of each entity is the following: public partial class syssujetos { [Key] [Column(Order = 0)] [DatabaseGenerated(Databas...
asked by 25.06.2018 / 09:52
1
answer

WPF and SqLite Desktop Application

I am very new programming and very very inexperienced. I started to program a desktop application in WPF with C # and as a database I use SQLite since the data I use is very simple and I do not require a more powerful database manager. Wit...
asked by 25.06.2018 / 16:26
0
answers

How do I send a rest object for a soap asmx?

I have this controller [Route("api/[controller]")] public class OptOutClientController : Controller { HttpClient client = new HttpClient(); private readonly IOptOutService _service; public OptOutClientController(IOptOutService service...
asked by 25.06.2018 / 16:49
1
answer

Regular expressions in C #

I am developing an expression evaluator, and I have the following code to check that I do not know about the following combination of characters for example: * - a multiplication followed by two signs of subtraction * / a multiplication...
asked by 23.06.2018 / 17:28
1
answer

Can a javascript function be executed from a Controller with an ActionResult?

I do not know if I can but I need to execute a javascript instruction that returns a value to me. But I need to do it from an ActionResult of a controller in ASP.NET MVC Clarification: I already know that it is a client code in the server cod...
asked by 23.06.2018 / 00:31
0
answers

Formula concatenate excel in c #

I'm applying a concatenation formula using the excel tools for c #, the formula I'm trying to apply is to concatenate Code C # Sum_RangeResuTot.Formula = "=CONCATENATE('LA SUMA ES',SUM(F" + (i + 5).ToString() + ":F" + (i + 15).ToString();...
asked by 23.06.2018 / 03:01
1
answer

Can I use this program with framework 4.5.2 on another pc with W7?

What happens is that I need to create a program for a hotel, and since I'm new to programming for desktop applications, I started my project and I did not choose a framework but I left the one that visual studio 2017 put me up, I'm programming o...
asked by 23.06.2018 / 02:54