Questions tagged as 'asp.net'

1
answer

Failed to invoke a SOAP Service in ASP.NET [closed]

I was trying to invoke a method of a SOAP service on a page in ASP.NET, but it is throwing the following error: Some co-workers told me that it was necessary to invoke the service using WsSecurity and attaching certifications previously...
asked by 26.11.2016 / 00:15
1
answer

Report Viewer DLLS Problems

I have an error trying to see a report in an ASP.Net application, the project is already compiled and published on a server. I have all the necessary DLL in the Bin of my folder, and also in the web.config . Error:    Compilati...
asked by 19.01.2017 / 18:19
1
answer

SQL Check between date range - but a date may be NULL

Good day community. I need to make a query in SQL (Sql Server 2012) to filter by a range of dates (Start Date - Term Date). The table is as follows: DETENTIONS ID ESTADO EQUIPO FECHAINICIO FECHATERMINO The Problem, is that some...
asked by 04.09.2017 / 16:26
3
answers

how to insert last 5 characters of a string?

Hello, what happens is that I have a system in asp.net and c # in which the user must enter 15 numbers in a textbox, but only the last 5 of them must be saved in a database field. Nose if there is any SQL function to do that, or pass the last di...
asked by 05.05.2018 / 19:32
2
answers

Error removing tuples from a table plus an intermediate

I have 3 tables, NOTICIA , NOTICIA_FOTO (middle table) and FOTO , and I need to delete rows from table FOTO ; and since said table is associated with the intermediate table NOTICIA_FOTO , also delete rows from that...
asked by 21.01.2016 / 14:59
2
answers

Can I cancel the sumbit of a form and prevent it from reaching the controller (server)?

I would be interested to know if I can cancel or prevent the button submit from reaching the controller. As before the jquery .click event is executed, you may be able to do something about it and thus prevent it from continuing its execution. T...
asked by 06.04.2016 / 16:38
1
answer

Unable to read property when merging two entities into one

I am placing two models in one through a class that unites them, with the objective of assigning them value that I get from the DB but it generates an exception in the first line that reads the read() -> Test.Models.Modelo.Pagos.get re...
asked by 21.07.2018 / 00:37
2
answers

IF Alternative C #

I would like to know an alternative to avoid the excessive use of IF within this code if (paq.Lunes) this.lu.Attributes.Add("class", "select"); if (paq.Martes) this.ma.Attributes.Add("class", "select"); if (paq.Miercoles) this.mi.A...
asked by 08.10.2018 / 02:57
1
answer

System.Data.SqlClient.SqlException: 'Incorrect syntax near the keyword' OF '.'

Again I requesting your collaboration I have a problem which I have been analyzing without finding the error it generates the following error System.Data.SqlClient.SqlException: 'Incorrect syntax near the keyword' OF '.' Already verify in the...
asked by 01.06.2018 / 15:50
2
answers

Hablitar and dehablilitar all the TextBox of a page

I have a page aspx where I have more than 200 TextBox , it's like a Form, then you have two options when you enter the page one of only "Show" and the other is "Edit", the options are enabled with two CheckBox : protected vo...
asked by 31.01.2017 / 18:56