Questions tagged as 'asp'

1
answer

Error classic asp and oracle dates

I'm having a problem inserting a date and time into a database. I am using asp classic and the database is oracle. The code I am using is the following Set conn = Server.CreateObject("ADODB.Connection") conn.Open conexion...
asked by 17.07.2017 / 10:18
2
answers

How to correctly use tr and th in HTML, etc?

Hi guys I have a question, I have a table of types of cars with the respective ID and Name, what I want to do is add an edit button next to each field and every time you click on a button redirects me to a page type_edit depending on the id of t...
asked by 07.11.2018 / 14:07
1
answer

Why does not the data annotation StringLength [] and MaxValuie [] work for me?

I am having problems to implement the asp.net mvc 5 annotations. When designing my model, I put the [StringLength] annotation to validate that the user enters a minimum and maximum number of digits. It works well, but at the moment of mak...
asked by 28.05.2018 / 18:07
1
answer

Problems when doing update in GridView with asp.net

I am trying to perform an update with the function of RowUpdating of the same Gridview by giving it in update , this throws an error and does not continue the execution, I have tried everything, and I searched for the solutio...
asked by 22.05.2017 / 17:17
1
answer

ASP how to create a table

Currently this is my ASP code, but I have no idea how I could create a table that divides the ID and Name of the cars <% if isArray(listaTipo) then for i = lbound(listaTipo ,2) to ubound(listaTipo ,2) response.write ( "ID->"& li...
asked by 06.11.2018 / 21:46
1
answer

Create a WebService in ASP.NET that returns indefinite number of columns in a database

Normally this is the structure of a WebService that I use in a project, but now I need to bring all the columns of a table that can have N number of columns, in the example I only receive 4 columns that exist, but what happens when I have 12, 15...
asked by 05.10.2018 / 03:36
1
answer

Error exporting a txt file

I have this code block in vs2010 with C# what it does is to create a txt file to save to a network drive. protected void export(object sender, EventArgs e) { ExportarEmbarque(); } public void ExportarEmbarque...
asked by 18.10.2017 / 19:04
1
answer

How to write text with response

I'm working with classic Asp and I can not write with Response.Write I show the code. <%@ Language="javascript" %> <html> <body> <form> <h3>Hello world!!! This is an ASP page.</h3> <% Res...
asked by 03.06.2017 / 17:06
2
answers

How to position images within DIV

I have a div tag and I need some objects to be aligned to the right and others to the left and to be seen at the same height inside the screen. This is my code: <div align="justify"> <table> <tr> &l...
asked by 18.08.2016 / 17:39
1
answer

My RecordSet always returns -1 in its RecordCount property

The select is done correctly, because when controlling the Fields property it shows me the names of the fields in the debugging. This is my code: Dim RS_Personas As Object Set RS_Personas = New ADODB.Recordset Dim Consulta_SQL As String If N...
asked by 01.08.2017 / 14:43