Hi,
I've a problem with exporting my query results into excel. When the rows returned are less, export to excel is happening without any issues. When there is large number of rows, IE is showing an error message like "Internet Explorer cannot download file from site. IE was not able to open the internet site. The requested site is either unavailable or cannot be found. Please try again later."
Kindly help...
User Profile
Collapse
-
Problem in exporting large data into excel
-
if loop not working in ASP
Hi,
I've a code similar to this:
<% if rs_qry.eof=true then%>
<td><input type=checkbox name="chk<%=i%> " ></td>
<% else%>
<td><input type=checkbox name="chk<%=i%> " checked ></td>
<% end if%>
but regardles of the eof, only the first td gets executed. Please help... -
Hey Thanks Dipti, it worked. Thanks a lot. -
Hi Dipti,
Can you please suggest me a solution for my problem? My requirement is, I've populated data from db to asp page in tabular format. Each row contains a checkbox field also. When the user clicks the checkbox and give sumbit, the corresponding columns in the rows needs to be inserted into the table along with other fields(which i won't show to the user).
I'm stuck. Please provide your suggestions....Leave a comment:
-
Hi Dipti,
I've created a hidden variable as said above. But it is not reflecting when i want to use that. Don't know what is the mistake...Leave a comment:
-
Function is not working in javascript
Hi,
I'm writing a code which calls the javascript function through button click in ASP. But i fear , the function is executed before onclick.
Here is my code.
<html>
<body>
<%asp code here%>
<script language=javasc ript>
function insert()
{
<%
rs_qry="insert into t1 values(a,b)"
set res=conn.execut e rs_qry
%>... -
Hi Jared,
I've tried with the hidden variable , but it doesn't work. When i type document.form1. the hidden varable name is not coming here. So i couldn't proceed in that way.
The query string method worked well, however. Thanks for your answer.Leave a comment:
-
-
How to pass a variable from javascript to another ASP page
Hi,
I have a code like this in my first asp form
function something()
{
if (confirm("do you want to continue")==tru e)
{
a=1
}
else
{
a=0
}
}
now i want to make use of my variable a in my second asp form. Please guide me to get it.
Thanks. -
Hi,
I fear that my query didn't get executed in ASP. I did a response.write to show the query. There seems no error in the query. But it is not getting executed. Is there any option to check whether the query is executed in ASP?Leave a comment:
-
Insert query not working in ASP
Hi everyone,
I have a query which will insert records into a table . But when i execute the query in asp, it's not getting inserted in the table (the same query works well in SQL though).
Here is my code
qry="insert into table1(a,b,c) values(1,'1',2) "
conn.execute qry //assume conn is eshtablished
Please help me out to get this right.
No activity results to display
Show More
Leave a comment: