Questions tagged as 'visual-studio-2015'

2
answers

Linq to SQL vs. Entity Framework

What is the difference between Linq's SubmitChanges and Entity Framework%% co? WTablasDataContext.AfipEscalaSuss.Add(obj) WTablasDataContext.AfipEscalaSuss.SubmitChanges(obj)     
asked by 06.09.2017 / 15:39
1
answer

Delete User from Table AspNetUsers MVC5

As I can delete users that I created in the AspNetUsers table, I work under MVC5. My code is as follows, AccountController.cs: //INDEX LIST USERS ADM public ActionResult Index() { userContext = new Applicatio...
asked by 08.05.2017 / 21:48
4
answers

Problem DataAnnotation DataType for Date

I have a problem with the DataAnnotation DataType Date, in my view the date is displayed perfectly as I put it in the DataFormatString, but the moment I edit it, it appears as if I had not specified a date before or was not stored in the databas...
asked by 03.04.2017 / 21:57
1
answer

Problem with DataAnnotation (DataFormatString)

I have a problem, in the visualization I am shown the data with the Euro symbol    € 123.00 and I need it to be displayed with the weights sign $    $ 123.00 My code is as follows [Display(Name = "Salario Cargo")] [DisplayFormat(...
asked by 03.04.2017 / 20:42
1
answer

Prevent an MsgBox from repeating twice in VBA

I do not know why my MsgBox is duplicated twice, it is supposed that when the spaces are blank send a message that they are blank, all this when pressing a radio button, the first time it works, but in the Second, the third one already shows the...
asked by 11.10.2016 / 04:00
2
answers

Problem with DOUBLE in Visual C #

The problem is that I need the DOUBLE not to print with scientific notation. How can I do that? What I want is that the result no matter how long it is printed.     
asked by 05.07.2016 / 01:00
1
answer

Applying automapper

Hi, I have a method in which I apply automation but I get the following error: Unable to convert the DGVdto type with SupplierExtend implicitly If both have the same properties. public class ProveedorExtend { public int Id { get; set; }...
asked by 26.04.2016 / 20:03
1
answer

The variable is assigned but its value is not used

As the title says, I have a variable declared at the class level but it gives me that message but I do use it. public partial class TextBoxUniversal : TextBox { private bool Sombra; private bool _mTeclaPermitida = true; Mensaje de adve...
asked by 01.08.2016 / 18:50
1
answer

2 cpp in Visual Studio

Good, I'm new to this, and I have a little doubt. The thing is that I have a solution that has 2 projects, one is called Server and another Client (the code of them is almost exact to this link ). Compile without errors both. The problem...
asked by 27.03.2016 / 13:04
1
answer

Query Linq group by

I want to build a linq query by applying group by but I have an extended class in which I have to match the feature class with the extended class. IEnumerable<ModeloExtend> result = Context.Modelos...
asked by 03.07.2016 / 19:24