Problem Using Execute To Dynamically Create Variables
I am trying to re-write an old url management class I use, and am having
problems using the Execute method to create vars. I think i'm missing
something simple, as I have used this method several times to perform this
kind of action, maybe it just needs some fresh eyes :) The code i'm using is
as follows: Code:
I'm a Flash programmer dabbling in ASP and I have a quick question for one of you pro's .I need to dynamically create and name variables from a returned list:
In Flash this would be easy: ///////////////////////////////////////// for(var i=0;i>=50;i++){ this[variable+i] = ("somedata"+i); } ////////////////////////////////////////
But obviously you crazy kids have your own syntax.
To Create rows Dynamically, I have used it by using Session. But the Problem with session is that for a table with more rows, the site is slow and i am looking forward to find an alternative solution to create Rows dynamically Using ASP.
I need to dynamically create subdomains, or folders, on my site. I am currently developing a portal where when the person registers he/she gets their own sub-domain on my site. Either that or I need to create a subfolder for them on the site. I am developing in ASP and need some advice/help urgently.
I'm trying to figure out how to run a script on my server which will go over a few folders of Word documents, and create html pages out of them which I can then serve to my users. Preferably I want to do this without installing anything else on the server, hopefully it's achievable with a scripting language like VBscript/ASP?
I am used to web programming in PHP,Perl, Java, but for this I need to use ASP, on IIS. I've Googled & Yahooed and not come up with much.
I have certain Keywords stored in a table of the Database.All i need is when ever i find the Keyword in the webpage i need to have a link which opens up as a seperate page and give me the detail information from the database for the seleted keyword.
can the adobe FDF toolkit be used to dynamically create a several page report using data from a recordset in ASP? As far as i can see now, it is only useful for filling in form fields from user submitted data.
Another option we are exploring is using the activePDF tools to do this. Has anyone had any experience with these tools? any comments/opinions? Can it do what we asked above?
I am trying to figure out how I could name a local variable dynamically.For example:
Dim Grade & SSP_Get_Stud_Grades("GradeYear")
Its kind of how you can name form fields dynamically for example: <input type="textbox" size="2" name="<%=GradeCtr & SSP_Get_Courses("CourseID")%>" value="<%=GradeHolder%>">
What I am basically trying to do is put each grade from a query into their own variable which has a name that basically tells me where to display the grade on the page.
I have a very odd situation here. I have an administration page, where based on a users permissions, a recordset is called from the SQL server which has a list of paths to "Module Menus". Each of these menus are then placed into the page by calling Server.Execute(rs_Modules("ModulePath")).
This works fine for up to 15 "menus" After that, the session variables that were set (not including those called by Global.ASA) are no longer set. Code:
I have the following piece of code:If RS.EOF or RS.BOF Then Session("Authenticated") = False
Response.Write "Sorry, your userid or password did not match" Response.Write "<BR>" Response.Write " or you have not registerd yet, please register" Response.Write <a href="default.asp">Clik here Response.End Here, I need to build the line (Response.Write <a href="default.asp">Clik here) dynamically, so that the html output from asp page gives us <a href="default.asp">Clik here
i have a long recordset that i want to page through. can sql pass back say, 5 records from 20 to 25 out of 1000? i can then pass 2 variables between the pages to dynamically generate the sql and thus page through the results. can someone post up a simple example of this if its possible?
With ASP is it possible to dynamically change the <title> tag depending on what record I am viewing? I know that you can do this isn ASP.net and PHP but was wandering if its possible in ASP too
I am currently struggling with dynamically naming a zip file. Basically I want someone on my ASP site to be able to choose to download a zip file and the zip file to be renamed before it is sent to them with their login name. Does anyone know how I might accomplish this. Code:
i have a form with two pull-down menus. when the user chooses a value from one, I need to go to the db and execute a query, and then populate the 2nd pull down menu with the retrieved values.how would I go about this? where do I add the listener function that will catch the selection event, and what should go in it?
Does anyone know if there are any IIS components out there that run on IIS 5.0 that will convert LaTeX to PDF? I have written a script in ASP that produces the LaTeX document, but am unsure of how to go about converting it to PDF and delivering it to the client.
If you don't know of one, do you have any idea of how I might implement such a transform? I would have to use a WshShell to run pdflatex on the source twice before I could deliver the PDF to the user. However, pdflatex outputs a PDF, so I would have to redirect the client to the PDF, and then somehow come along later and clean it up. I'm not sure if this would be the optimal process to take.
I have a form where there are 2 dropdowns. Based upon what you select in the 1st dropdown, that selection populates the 2nd dropdown. I want to change it so that if you select 'Loan Officer' in the first drop down, the 2nd dropdown turns in to a textbox, rather than the huge dropdown it becomes now
this form I need to create, I have very little experience in ASP. I will basically need to have a form that collects hours for a specific Week End Date.Also a running total for hours.
Dropdown with week end dates Dropdown of Task, Mon, Tue, Wed, Thurs, Fri, Sat, Sun Default 5 rows
Add Row Submit
Since I will need to dynamically add a row of data, I am not sure how to submit. What would you do in this scenario? Im so new to this and of course this is due ASAP.
I have an asp page in which if i click on add row i call a javascript function and create a new table row.This works well if i do not have to retrieve any dynamic data from my database. ie if i just have to insert for input type ="text" then no problem but when i have to do the same thing for a input type ="select" i have no idea what to do for the select has to retrieve records from the databse to allo the user to choose. How can i do this ?
my javascript function function addrows() { var cellRight = row.insertCell(1); var el = document.createElement('input'); el.setAttribute('type', 'text'); el.setAttribute('name', 'comment' + iteration); cellRight.appendChild(el); }
I have a form that is created dynamically from a recordset, this creates a line for each record together with 2 checkboxes, Yes & No so the source output would be something like this:
<p>Please indicate whether you still use each piece of software detailed below:</p> <form name="apps" method="POST" action="MyAction.asp"> <table width="600" border="1" cellspacing="0" cellpadding="5"> <tr bgcolor="#9999FF"> <td><font color="#FFFFFF"><strong> Software</strong></font></td> <td><font color="#FFFFFF"><strong>Required?</strong></font></td> </tr>
I want to ensure that either Yes or No has been checked for each line before the form can be submitted, can this be done in asp? The amount of lines in the form will vary.
i want to download a folder (folder contains .gif files) from a server. which is the best way to download,
1.zip a folder ? 2. or can we download a folder?
i am trying to zip a folder but without using any component. can any one help me regarding this. when i search in google i got code using only component. I want code using pure asp.
I am trying to create a blank table based on an existing table. I have tried using CREATE TABLE but unfortunately it doesn't appear to be flexible enough in that it didn't allow me to set some of the field properties such as input mask on a date field. Now if I can dynamically copy a table that will solve my problem.
A Form has a select list which lists all the column names of a SQL Server database table. Users will select one or more than one column from this select list & after submitting the Form, the records of only those columns that he had selected in the previous page will be displayed to him. This is the Form code:
have a number of text box rows generated dynamically with the same name. This gets posted to the same page as a comma delimted string. The Problem: If a user enters a comma the string gets disjointed. Need to parse(remove commas)the dynamic text box values generated on client side.
i need to build a booking system which relies on a calender. basically i have a db of clinics thar offer allotted times for appointments on certain dates. eg: a clinic may offer five 20 minutes slots 2 days a week.
so i need to get the data out of the db and display that in a calender form which the user can then select the time/date convenient to them. my question is (apart from how do i build this!?!?!?!) does anyone know a good calender that would fit my purpose? Code:
I have an array with the values: 1, 4, 7, 8, 2 I want to loop through the array and dynamically name a variable to append the array elemnt to the variable name something like this: i = 0 while (myArray.length){ var myVar + myArray[i] = "my variable name is called:" + myVar + myArray[i] i++ }
but i cant name the variable dynamically. Do I have to do something like: String(var "myVar" + myArray[i]) or something?
If you look at the code above, asp:dropdownlist is a string, but I'm not sure if asp:label is a numeric. Since I don't have the source code, how can I change the numeric value that gets to the asp:label within the aspx page.
lets say i get a number 20, and I want to add 15 to it, how can this be done.
There is this thing which to me looks possible, but when I searched over the net I couldnt find anything. Any ideas about this please do let m eknow.
I want to create a page where I can upload an image using any upload function and then display it.
Now after diplaying it I want to select the hotspots for it and create an image map.The coordinates of image map are stored in a database.
Basically I want that to create image maps and hotspots I dont use any offline software, get it done Online using ASP or any other thing that you may suggest. Code: