asp.net
新手求救. 体谅求知之心。。。谢谢!
asp 代码页面:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页 </title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" runat="server" Text="请选择表名:"> </asp:Label>
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True"
onselectedindexchanged="DropDownList1_SelectedIndexChanged1" Width="200px">
<asp:ListItem Value="news">新闻 </asp:ListItem>
<asp:ListItem Value="guestbook">留言表 </asp:ListItem>
<asp:ListItem Value="gu
相关问答:
asp下面,当要根据不同的权限显示一些功能按钮的话会写成
<%
if 权限=1 then
%>
<input type="submit" name="Submit" value="提交" />
<%
end i ......
现在遇到这么一个问题,从FTP上下载文件,其中有两个方式,一种是一个文件一个文件的下载,
另外一个是全部下载,一个一个文件的下载已经实现了,但是就是全部下载的没有实现,
我想的思路是下载到文件服务器 ......
C# code:
string sql = "select * from userinfo where uname = '" + uname + "' and upassword = '" + upassword + "'";
//和
string sql = "select * from userinfo where ......
我用下面的方式弹出对话框
RegisterStartupScript("js", " <script>alert('对不起您没有该权限') </script>");
然后我再刷新页面,页面会提示:“不重新发送信息 ......