Questions tagged as 'visual-studio-2015'

1
answer

Entity Framework how to access the data model without saving the credentials and settings in the app.config

Please cooperate with the following problem: Always work with EF EDMX, when creating the floor model, type the options "Yes, include confidential data in the connection string" and also the "Save connection settings in App.Config as:", but in...
asked by 03.03.2017 / 20:39
1
answer

error 40 sql server

good afternoon, I hope you can help me. I just switched machines because of technical failures in the other one and it tells me this in my project I was looking for error 40 but in general the Stdio management is the one that does not work...
asked by 10.12.2016 / 22:48
1
answer

Winforms can not load the file or assembly 'Microsoft.ReportDesigner, version = 10.0.0.0' in VS2010

I have my form that has ReportViewer (version 10.0.0.0) and it is not allowing me to open it in VS2015     
asked by 27.12.2016 / 23:51
1
answer

Implementing IRepository in IUnitOfWork

Hi, how can my UoF interface inherit from IRepository? having this: public interface IRepository<T> where T : class, IDisposable IoW public interface IUnitOfWork : IRepository { int Save(); }     
asked by 01.04.2016 / 18:00
2
answers

Query linq, matching properties

I'm working with Entity Framework code first, I'm putting together a query but from my entity I only need the first two attributes for which I had to create another class with the attributes I need to not bring me the whole entity. public clas...
asked by 24.05.2016 / 23:24
1
answer

Conditional on a field in the view

I'm doing maintenance on MVC for an employees table. I have made a grid that shows the list of employees, and I added buttons to edit and delete in each record, but I want to say delete instead say "Give High" or "Unsubscribe" depending on the f...
asked by 08.03.2016 / 21:04
1
answer

Return an entity

I'm working with Entity Framewor app windowsw forms, I need to return an enbity for that I'm calling the Single method but I do not know how to use it What I try to implement if it exists returns an entity and does not exist, it returns a...
asked by 07.06.2016 / 19:43
1
answer

DataGridView placing the pointer in row created

At the moment of creating a row in a DataGridView I want the pointer to be in the new row created in the cell of the second column as I show in the imgagen. Every time you create a new row, the cursor should be displayed in this way, ready...
asked by 01.05.2016 / 18:07
4
answers

MVC template does not appear in Visual Studio 2015

I am trying to create an ASP.NET application with the MVC 5 template. However, when I try to choose the template it does not appear. When I use Visual Studio 2013, it does give me the option to use MVC 5. I already tried using the repair o...
asked by 25.03.2016 / 02:30
1
answer

How to convert and send joined or hexdecimal commands in C #

I have a dot matrix printer to print and I need to send a cut command to the printer from a form (Windows Forms): Through an interface I select the name of the printer. I have a textbox which I input command in decimal to cut paper. For ex...
asked by 19.10.2018 / 22:37