Questions tagged as 'asp'

0
answers

Generic Handler - Parser Error, Could not create type

Next person, I made a simple Generic Handler, just to give me back a person, just to mention, the code is this way public void ProcessRequest(HttpContext context) { context.Response.Cache.SetNoStore(); context.Response...
asked by 05.01.2015 / 14:27
1
answer

Classic Asp Development: COM, how to use?

I would like an explanation regarding COM components, what exactly are they? How to use them? From what I understand they are a kind of library that stays on the server where you associate with your project. I'm working with maintenance and c...
asked by 06.01.2017 / 14:25
2
answers

Create and manipulate array with asp classic

How to create, feed and read array with key and value using Asp Classic? I need to do something like this. $registro[] = array( "codigo"=> "$v", "municipio"=> "$v->municipio", "Rua"=> "$...
asked by 14.12.2017 / 21:14
1
answer

SQL SERVER connection string for classic asp

How do I create a connection string for classic ASP to connect to the Microsoft SQL Server database     
asked by 15.04.2014 / 20:17
3
answers

It is possible to assign the value of a JavaScript variable, to one in ASP

I would like to know if it is possible to assign a variable in JavaScript to ASP ? Example: Dim ASP var JS; ASP = 1 JS = 2; ASP = JS Response.Write ASP ' saida deveria ser 2 e     
asked by 17.06.2014 / 14:06
2
answers

How to add "www." to a web site with web.config?

I do not have much knowledge in regular expressions and I'm trying to identify if the user entered the site before entering the website before the site name. If it has not typed, I have to add it. But I'm having a bit of trouble doing this in...
asked by 16.08.2016 / 16:57
2
answers

response write within response write

I have a site in database (writes the page code inside the table), example: <html> ... This code above I saved in a field inside the table, and to display, I do it normally and everything comes right, however I need the following:...
asked by 17.08.2016 / 01:06
1
answer

Read appSettings encrypted Web.config

In an application that uses classic asp, I have a key called connection:asp30 and another call connection:asp60 . This application has several asp and other aspx pages. I encrypted Web.config at the request of a client, use:  ...
asked by 28.12.2015 / 17:38
1
answer

Exchanging Html.Action () for an Ajax request

I have a method that returns a ActionResult called through a Html.Action() directly on View using Razor . This method is used to render a ComboBox of devExpress with the data that I send from a SQL...
asked by 17.12.2018 / 11:28
1
answer

Compare if dates are in the period

I need to know the user's date of birth if he was born during the period of the military dictatorship. The military period in Brazil began on 01/04/1964 and ended on 03/15/1985, and all those born between that period would be treated as true,...
asked by 04.04.2018 / 14:42