Questions tagged as 'asp.net-mvc'

0
answers

Dropdownlist asp.net mvc

I have a product that can be registered in 2 stores A and B if I have already made a registration in A how do I pro Dropdownlist show me only show option B the next time I register? How would logic be? using Entityframework and Linq? [H...
asked by 06.03.2018 / 17:49
0
answers

JavaScript accent problems - Asp.net Core

All text that I write in Portuguese in buttons, etc., has problems with accentuation in javascript. What do I need to do? //Trecho do meu arquivo _Layout <!DOCTYPE html> <html class="no-js css-menubar" lang="en"> <head&...
asked by 19.02.2018 / 22:19
1
answer

Error publishing a website developed in Asp.Net MVC

I've done all the step-by-step to publish a website that I developed using Asp.NET MVC on the web server, so upon completion it opens the page in the given domain and you see this following error: Doesanyonehaveanideaofthereasonforthiser...
asked by 27.02.2018 / 23:27
0
answers

Missing reference error in .net core project at compile time

When using the dotnet build command in my application, I come across the following error happening in my asp.net core project:    StoreOfBuild.Domain - > C: \ UdemyApp \ src \ StoreOfBuild.Domain \ bin \ Debug \ netstandard2.0 \ StoreOfB...
asked by 27.02.2018 / 20:43
0
answers

Upload a Grid in a view listing individuals and legal entities - Asp.net core MVC

I need to load a Grid in a view listing physical and legal entities, but I'm having difficulty because they are in different tables. I'll explain better: 1 - I have the classes Person, Person and PersonJuridica. public class Pessoa : En...
asked by 25.02.2018 / 12:21
0
answers

Show Total Order Value in View asp.net mvc

I have a View Index where I will show the name of the store the total order and add all orders and show the total value. I created a ReportAmazing. I can get the total of orders. In my table it is already right with the total value correto, but...
asked by 19.02.2018 / 16:34
1
answer

Seed Method for Many-to-Many Relationships

I am developing a simple application in MVC using Entity , being product register, I am using metodo seed to insert the values in the table, however in the Many-to-Many relationship I can not set the values in the auxi...
asked by 19.02.2018 / 18:36
0
answers

SqlBulkInserT- Import Excel worksheet

I have an application in dotnet to import spreadsheet, however I do not know why I am not able to insert the information into the database. My code is below. using System; using System.Collections.Generic; using System.Data; using System.Data....
asked by 19.02.2018 / 17:49
2
answers

Compare shorter term between asp.net columns

Doing order system, I have several warehouses, let's suppose I have to compare 2 warehouses that have shorter lead times by using entityframework, how would I do that? I'm trying to do more but it only returns the last query value, but not the l...
asked by 18.02.2018 / 16:02
0
answers

Delete gallery image Dropzone.js Asp.net

I'm using Dropzone.js library, when I add a photo to the gallery it works fine, but when I try to remove the photo from the gallery it just removes the photo in my View >, but does not remove it from the folder itself. I pass the ID and...
asked by 16.02.2018 / 00:48