I am using Visual Studio 2017 with ASP.Net and MVC .
Where I am sorting the fields of a table by a field Call number .
public ActionResult Index(){
var hojaArchivo = db.HojaArchivo.Include(h => h.HojaInicial).Include(h => h.Mat...
I have an action filter to make a log in a class called LogActionFilter which has its respective methods to perform each specific task, and from my control I call this filter as follows [LogActionFilter] up there all right .
The...
I have a project in visual studio which I have a file of type config example mifile but when I publish it from the platform (vs) it generates two more files apart from the original, which are mifile.Debug and mifile.Relea...
I would like you to help me to create a method that validates if there is already a record in BD with the name of the user that is authenticated and that this one returns a Boolean and sends it to the view to be used with JavaScript.
Th...
I am programming in asp mvc with c # and I have an action declared as follows: public FileResult ViewImage(int ImageFileItemId, int MaxWidth, int MaxHeight, bool FixedWidthHeight, string JpegQuality) . I would like to validate that t...
I would like to know how to export an excel file using ajax, I have tried in the following way, but it does not work:
$("#ajax_loader").css("display", "");
var formato = "PDF";
//window.location.href = url;
//$("#ajax_...
I have an application in mvc 5 asp.net and I would like to generate an alphanumeric number automatically example of result I want: B0100002062 and that will increase as I insert records, I would appreciate the contribution
I have followed the advice of several questions here in stackoverflow in Spanish and the same in English, I have already lost two days with this and I have not found the problem, I have the following JSON that is valid:
[
{
"Info": {...
I have an action filter that validates me if there is a data or this is true or false to then redirect to an external url. Redirection works well. But I have the filter in my controller globally and when I enter the controller...
I need to create a sequence that is inserted by default, that is, I need that when inserting a record it is inserted by default,
example
fn000001,fn000002, ect.
help