I have this in my code.
Nothing happens, when this is executed.
Same code in vb works.
%>
Set ExcelApp = Server.CreateObject("Excel.Application")
ExcelApp.Application.Visible = True
Set ExcelBook = ExcelApp.Workbooks.Add
ExcelBook.Worksheets(1).Cells(2, 2).Font.Name = "Verdana"...
I'm sorry for my stupidity, that I pointed out the wrong lines.
I meant line 284 and 207.
Thanks, i will directly try this out and get back to you if it works.
Here is my whole code?
http://www.aspsidan.se/code/default.asp?c=5563
At line 274 i use a button that i want to send my whole code with the text of the textarea.
At line 200 i want to insert the text that i have in the textarea into the database, but there is no text to insert.
Thats my big...
I only have this code.
How can i get the value that i typed in the textarea to be printed with Response.Write Request.Form("text")
<%Response.Write Request.Form("text") %>
<textarea name="text"></textarea>
<a href="nerd.asp">link</a>
I would like to call the insert action where pressing the button.
<%If Request.QueryString ("action") = "insert" Then
Response.Write("okok")
End If%>
<input type="button" value="Post" onClick="cal.asp?action=insert">
I'm i thinking wrong?
I would like to loop and then show it on the browser.
For example 1 should be 01 and so on.
I don't want the numbers to be shown like this.
2
3
4
I would like to have the number displayed like this.
01
02
03
04
I noticed that format doesn't work in ASP like in Visual Basic.
In vb i do it like...
I have tried with your solution but it doesn't help.
<%
If Request.QueryString("action") = "login" Then
Response.Write("Just testing")
End If
If Len(Request.QueryString("")) > 0 Then
Response.Redirect("admin.asp")
End If
%>
Is this where i should put your code?
because in my website it is...
the example code that i have at my first post for example
If i press the submit button, then the address on my webbrowser would be admin.asp?action=login
I would like to that when i press the submit button, that after it has gone in to the querystring action=login.
clear the address in the...
i tried typing Response.Redirect("admin.asp") after the end if and it seems that it keep redirecting to it self, like an infinite loop.
What should i type DNG?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.