Questions tagged as 'asp'

1
answer

Fill a GridView Entity Framework ASP.Net

How can I fill a Gridview with the result of a Linq query of an EF model. var vQueryTom = (from tom in cargaDocEntities.REPRESENTATIVE TOMOR                  select tom);     
asked by 02.08.2018 / 16:04
0
answers

HELP with Reference to object not established as an instance of an object. in ASP.NET MVC

The fact is that I am developing an online store in ASP.NET MVC, the fact is that when I want to add an item to the basket I get this error: Object reference not set as an instance of an object. And I get it in this part of the code:...
asked by 29.07.2018 / 03:03
0
answers

How to page GridView in Asp.net C #?

I have a gridview with a pagination, it works fine until page 9 but when I select 10 or more it sends me the error "The index was out of range, it should be a non-negative value and less than the size of the collection." I attach my code &...
asked by 28.07.2018 / 03:06
1
answer

Know which checkbox in a cycle have been selected?

My question is how can I know which checkboxes have been selected to update the text type input that contains that checkbox? looks like this: the table and the checkbox is inside a loop which prints as many tables as the sql query ha...
asked by 19.07.2018 / 20:12
0
answers

CDONTS.Newmail in Windows server 2016

I have a problem with my classic asp code, I know it's quite old but I do not have access to change it. The fact is that we are migrating all the code to a new server with windows server 2016 and it does not work when sending emails. He tells me...
asked by 02.07.2018 / 18:33
0
answers

How to validate the value of a parameter in the routes?

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...
asked by 02.07.2018 / 17:49
0
answers

UPDATE Microsoft JET Database Engine error '80040e21'

It is a website built in .ASP and with an ACCESS database. It has been in operation for 3 years and has not caused any problems but today I started to give this error. The error is as follows,    Microsoft JET Database Engine error '80040e...
asked by 11.06.2018 / 21:04
0
answers

IIS error 500 87 invalid parameter

I have a 2003 server with IIS6. I have a simple ASP application, it works correctly but every hour and a half I get the error 500/87. The application works without any problem, responds well and everything, but when the 500 jumps the page...
asked by 04.06.2018 / 08:57
0
answers

how do I run the sp that has an update from asp.net?

I have the following problem: I have an application in 3 layers in the data layer I have the following code: public string D_RegistroAprobacionRH(int vopt, string vObservacionVrh, string vUsuarioValidarh, string vObservacionArh, string vUsuar...
asked by 02.06.2018 / 02:33
0
answers

Modify records of several tables in an API 2

I have the following code, what I want is to modify the Student Name field, the Teacher Name field and the Class Name field public IHttpActionResult CreateExamen(Alumno alumno, Maestro maestro, Clases clases) { if (!ModelState.IsValid)...
asked by 26.05.2018 / 00:50