Questions tagged as 'visual-studio-2015'

2
answers

Conditional error in foreach using ASP.Net MVC

Partners of Stack Overflow in Spanish, I have the following error when doing this conditional ViewBag.p.Where(n => n.Lider == namelider in cycle foreach . Here I show you part of my code: <table class="table table-bordere...
asked by 11.07.2017 / 23:42
2
answers

Format 001-000001 in a textbox (editbox)

I want to enter data into a text box the app is windows forms, what I want to enter is in this format 001-000001 the first two digits are zero the third digit of 1 to 9 the fourth digit a - of the fifth digit to the t...
asked by 27.07.2016 / 03:13
2
answers

Export data to Excel from MVC5 view

I need to know how I can export the next table I have in a project view to an excel document. The table I want to export to excel is as follows: <table class="exampletb table table-bordered table-hover display"> <thead&...
asked by 15.07.2017 / 05:41
2
answers

fill in input from dropdownlist selection ASP.NET MVC5

Hello StackOverFlow colleagues, I have the following question, how can I load or give a value to an input when selecting an option in a select or dropdownlist? my create controller is as follows: // GET: Collaborators/Create publ...
asked by 17.05.2017 / 15:24
1
answer

Set DateTimePicker start date always Monday C #

I am developing a Windows Forms application in C #. I have a DateTimePicker that I will call dtp1 . It happens that what I need is that this dtp1 always have the date on Monday of the current week. That is, If today...
asked by 07.10.2016 / 00:55
2
answers

Entity Framework create field Image

I am working with Entity Framework code first I have the need to create an image field in SQL Server. What I'm trying to do with EF is to create an Image field in the database. public byte[] Imagen { get; set; } Product ClassMap Property...
asked by 05.07.2016 / 17:58
1
answer

The ReportViewer control in VS 2017 is not displayed

I am working with Visual Studio 2017. Add a ReportViewer control to a form and it is not shown on the form itself. I see that the solution adds the necessary references, the control is seen in the outline of the document and I add a lower bar...
asked by 21.08.2017 / 17:52
1
answer

What does int mapped int32 or int32 mapped int mean?

Ando watching some tutorials and always say those two words, can someone explain to me what is meant by mapped? , I searched through dictionaries (wordreference.com) among others and I can not understand what they refer to. Thank you very muc...
asked by 18.12.2016 / 00:24
1
answer

error when publishing Azure site

Create an application with the WebAplication template of Visual Studio 2015 with MVC, it handles the Scripts and CSS by bundle, it turns out that When I publish in Azure I do not load any style, I could not make it published correctly....
asked by 30.09.2016 / 16:04
1
answer

How to create PK identity in temporary DataTable?

I'm working on a Windows Forms app, Visual Studio 2015. The scenario is that I have a DataGridView where I will enter items to a Detail, I will enter data from a product of a range of sizes that are worth a price, and the same product I will ent...
asked by 12.08.2016 / 18:08