Questions tagged as 'asp.net'

3
answers

Use of td and tr mvc

How can I put the comma to the employee's salary or currency type this is the view @foreach (var item in Model)                 { <tr> <td>@item.EmpId</td> @*...
asked by 17.10.2018 / 19:44
1
answer

order by len () in linq

This is my query on the sql server and everything works fine select * from DetalleNotas order by len(ColProduct), ColProduct PROCT1 PROCT2 PROCT3 PROCT4 PROCT5 PROCT6 PROCT7 PROCT8 PROCT9 PROCT10 but I want my query in linq I trie...
asked by 04.05.2018 / 17:46
6
answers

Problem when returning a list of JSON objects with AJAX, I can not access the properties of the object

Good morning, I have this web service: [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public string ObtenirProvinciaByPoblacio(int CodiProvincia) { clsCRUD _ou2 = new clsCRUD(); try { _ou2....
asked by 28.01.2016 / 17:08
2
answers

"(400) Bad Request" when trying to connect with Azure Storage

I had a problem when trying to communicate with an Azure Storage storage service, the communication was made from a Windows Azure website to a Storage container. When the communication is made from a local website works perfectly. I tried updati...
asked by 17.12.2015 / 05:14
1
answer

SQL + C # Variable value Null or NULL?

Good morning. I have an ASP.NET C # application and in a WebForm I must insert data in a table. For this, create a stored procedure and you can insert null data: CREATE PROCEDURE [Insertar_Tabla] @var1 INT=NULL, @var2 VARCHAR(10)=NULL...
asked by 30.06.2017 / 20:30
2
answers

Downloading .CSV file in firefox does not work correctly with web application

I have a web application using aspx and with C # code. I am using HttpResponse to be able to download the result in a CSV file. When I use Chrome it downloads without problems with the extension .csv. The problem is when I use FireFox,...
asked by 10.02.2016 / 20:15
2
answers

Name of the files when saving in C # MVC (BodyPart)

I am programming an input file with angularJS and c # MVC. At the time of reviewing the folder where you keep the files shows them to me in the following way So I have my code on the controller public class SubirHvController : ApiC...
asked by 22.03.2018 / 14:39
3
answers

Register with output variable using ASP.Net and SQL Server

I'm doing a web application with the ASP.Net C # language but I'm validating the OUT output to show me the error message: This is my procedure: ALTER PROCEDURE pAdminUsersEvaSmart @tipo INT ,@UserName VARCHAR(100) ,@ERROR V...
asked by 06.04.2017 / 20:13
3
answers

Get id dynamically to hide and show items

How can I get list ids dynamically, for example .. <li> <a href="#">lista1</a> </li> <li> <a href="#" onclick="ocultar;">lista2</a> </li> <li> <a href="#">lista3</a> </...
asked by 09.05.2016 / 21:35
1
answer

Do not allow access to defaultUrl in web.config file

I have a web application that has loginUrl="Index.aspx" and% defaultUrl="list.aspx" . This works well, because once I have the Index.aspx and I hope the user identifies, I get the page list.aspx . The problem is t...
asked by 08.02.2016 / 19:11