图像波动问题 [英] image fluctuation problem
本文介绍了图像波动问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道如何消除Asp页面上波动的图像.
我正在使用Ajax控件来实现脚本管理器和更新面板之类的波动,并使用计时器控件.
我正在做在线考试项目.
请为这种情况提供任何想法或编码.
I want to know how to remove image fluctuate from Asp page .
I am using Ajax control for fluctuation like script manager and update panel and using timer control.
I am doing online exam project.
please give any idea or coding for this situation.
推荐答案
当我尝试使用AJAX控件/计时器从数据库中提取记录时,我注意到AJAX控件存在这种波动.
因此,如果您执行相同的操作,请确保您具有正确的数据库连接.
谢谢.
I have noticed such fluctuation with AJAX controls when i try to pull the records from database with AJAX control/timer.
So if you are doing the same thing, make sure you have the correct database connection.
Thanks.
<%@LANGUAGE="VBSCRIPT"%>
<%
if not (session("access_level") = "admin") then
response.Redirect("index.asp")
end if
%>
<!--#include file="include/test_connect.asp" -->
<html>
<head>
<title>Add Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="aliceblue">
<table width="100%">
<!--DWLayoutTable-->
<tr>
<td height="520" valign="top"><!--#include file="test_menu.asp" --><br>
<!--#include file="test_admin.asp" --><br>
</td>
<td width="100%" valign="top"><table width="100%" height="500" >
<tr>
<td width="100%" height="50" valign="top"><div align="center"><br>
<h3>User Admin</h3>
<%
Query = "select * FROM password"
Set RS = Server.CreateObject("ADODB.Recordset")
RS.Open Query, test_connector, 3, 3
if (not RS.eof) and (not RS.bof) then
alldata=RS.getrows
numrows=ubound(alldata,2)
RS.close
%>
<table width="90%">
<tr>
<td><div align="center">User name</div></td>
<td><div align="center">Access Level</div></td>
<td><div align="center">Test Name ***</div></td>
<td><div align="center">Tests Left **</div></td>
<td><div align="center">Reset Password*</div></td>
<td><div align="center">Edit User</div></td>
<td><div align="center">Delete User</div></td>
</tr>
<% for x = 0 to numrows %>
<tr>
<td><div align="center"><%= alldata(1,x) %></div></td>
<td><div align="center"><%= alldata(3,x) %></div></td>
<td><div align="center"><%= alldata(13,x) %></div></td>
<td><div align="center"><%= alldata(14,x) %></div></td>
<td><div align="center"><a href="user_admin.asp">Reset</a></div></td>
<td><div align="center"><a href="user_admin.asp">Edit</a></div></td>
<td><div align="center"><a href="user_admin.asp">Delete</a></div></td>
</tr>
<% next %>
<% else %>
<tr><td colspan="7"><div align="center">No users in database</div></td></tr>
<% end if %>
</table>
<p>
* Resetting password will be allowed only Admin User </p>
<p>** If tests left is negative that would indicate that test limits.</p>
<p>*** If test name is blank that means users is allowed to take
any tests. This field is ignored for Admin Users</p>
</div></td>
</tr>
</table></td></tr></table></td></tr></table>
</body>
</html>
<!--#include file="test_close.asp" -->
特定页面有什么问题?为什么不更新用户的?请帮助我
What is problem in the particular page? Why will not update the user’s? Pl helps me
这篇关于图像波动问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文