几个基础问题,解决完马上结帖,在线等! 1、很可能你的ACCESS是打开的2、IIS里设置你的主目录为:http://123.456.7.89/web13、写<a href>4、window.close(); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1.点击Access数据库文件,右键--属性--安全 就可以设定其读写权限了2.如果直接输入IP就能访问的话,你的index.aspx所在的项目必须在系统根目录下,或只是设定一个端口好,通过http://123.456.7.89:端口好(81-9999)就可以了3. 不清楚4. 用javascript window.close关闭窗口 2.打开iis,再根目录下建立一个default.asp文件代码为:<%response.redirect("http://123.456.7.89/web1/index.aspx")%>然后将其设置为“默认启动文档”。OK4.<script>window.opener=null;window.close();</script> Richard888(临は兵へ斗み者ふ皆ゃ阵を列ゑ在ん前) ( ) 信誉:100 2.打开iis,再根目录下建立一个default.asp文件代码为:<%response.redirect("http://123.456.7.89/web1/index.aspx")%>然后将其设置为“默认启动文档”。OK------------------------------------------------------------------出错提示为:您可能没有权限使用此凭据察看该目录或网页 后来试了一下,Richard888兄的方法可以实现,开始出现错误是我将主目录弄错了:) 怎样设置Access数据库的读写权限?C#+ASP.NET写的web程序运行时增加数据时提示“操作必须使用一个可更新的查询”;还要设置所在的文件夹的安全性为匿名可修改权限, ASPNET帐号 使用<a href出错提示:分析器错误信息: 类型“System.Web.UI.WebControls.TableItemStyle”不具有名为“a”的属性。源错误: 行 76: <HeaderStyle HorizontalAlign="Center" Width="100px" VerticalAlign="Middle"></HeaderStyle>行 77: <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>行 78: <FooterStyle HorizontalAlign="Right" VerticalAlign="Middle"><a href="sorting.aspx">更多...</a></FooterStyle>行 79: </asp:BoundColumn>行 80: </Columns> 1。把用户ASP.NET设置为administrator2。在IIS中虚拟目录直接指向../web1/index.aspx,3。4。.<script>window.opener=null;window.close();</script> 1。用一个可更新的查询 ,是不是没有线连接,然后 Databind(); 更新呢?3。在Footer内部 Response.Write("<a href />试试看 <asp:DataGrid id="DataGrid1" runat="server" ShowFooter="True"></asp:DataGrid>private void DataGrid1_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e){if(e.Item.ItemType == ListItemType.Footer) e.Item.Cells[0].Text = "<a href='http://dotnet.aspx.cc/'>ok</a>";} 1,以共享式打开数据库,不要独占式打开数据库一般不会出现数据库锁定,队非有别的进程对数据库进行了独占式访问;2,如果你的internet连接是用代理的话,你可以在代理的“高级”设置中,设定对你的服务器不进行代理访问即可;3,不明白你的意思;4,你可以写一个方法类似于下面的:public static void ExecuteBlock(System.Web.UI.Page page,string script){ string strScript; string strKey; int i; //脚本块的内容 strScript="<script language=javascript>\n"; strScript+=" "+script+";"; strScript+="</script>"; //注册脚本块的Key strKey=System.DateTime.Now.ToString(); //循环,直至找到某个没被注册过的Key for (i=0;i<10000;i++) if (!page.IsClientScriptBlockRegistered(strKey+i.ToString())) break; page.RegisterClientScriptBlock(strKey+i.ToString(),strScript);}然名在如下调用即可:ExecuteBlock("window.close()") 1.添加IIS_WAP用户对该数据库拥有写权2.控制面板-〉管理工具-〉Internet 服务管理器-〉默认web服务器-〉右键属性-〉文档-〉添加index.aspx3.在DataBound事件中判断是否是页脚项如果是则为其添加链接4.<script>window.opener=null;window.close();</script> 1.不太清楚2.把你的iis站点目录设成http://123.456.7.89/web1/就可以。3.孟子大哥已回答,没有错.4.<A class="stxt" href="javascript:window.close();">关 闭</A> 2。在iis默认网站的根目录下添加一个default.asp文件,用记事本打开,文件中只需要加入一条语句:<%response.redirect("http://123.456.7.89/web1/index.aspx")%>就行了;然后选中默认网站,右键-〉“属性”,选择“文档”,勾选启用默认文档,并且将文档列表中的文档都删除,并添加刚才写的那个default.asp,确认。就可以了。3。如果你还要在点击Footer上的链接的时候要传送查询条件过去,可以这样写:if(e.Item.ItemType==ListItemType.Footer){ e.Item.Cells[1].Text="<a href='sorting.aspx?id=0'>更多...</a>";}然后在新网页中用Request["id"].ToString()就能获得"0" 关闭再打开页面保留住内容 asp.net 有时出现DataBinding:“System.Data.DataRowView”不包含名为“title”的属性 中学公式 CSDN什么时候能支持Chrome? 小生不才 单选按钮的Checked都选为True时 运行后默认是哪个被选中? 再看一眼吧!! 如何用客户端JavaScript脚本设定服务器端控件的ToolTip属性? 数据库访问的结果作为链接问题?????? 如果何监听是点了哪个按钮 一个数据库显示得很简单的问题 girdview 在不排序时,能否实现列表头单击或双击事件?
2.如果直接输入IP就能访问的话,你的index.aspx所在的项目必须在系统根目录下,或只是设定一个端口好,通过http://123.456.7.89:端口好(81-9999)就可以了
3. 不清楚
4. 用javascript window.close关闭窗口
代码为:
<%response.redirect("http://123.456.7.89/web1/index.aspx")%>
然后将其设置为“默认启动文档”。OK
4.<script>window.opener=null;window.close();</script>
2.打开iis,再根目录下建立一个default.asp文件
代码为:
<%response.redirect("http://123.456.7.89/web1/index.aspx")%>
然后将其设置为“默认启动文档”。OK
------------------------------------------------------------------
出错提示为:您可能没有权限使用此凭据察看该目录或网页
出错提示:分析器错误信息: 类型“System.Web.UI.WebControls.TableItemStyle”不具有名为“a”的属性。源错误:
行 76:
<HeaderStyle HorizontalAlign="Center" Width="100px" VerticalAlign="Middle"></HeaderStyle>
行 77:
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
行 78:
<FooterStyle HorizontalAlign="Right" VerticalAlign="Middle"><a href="sorting.aspx">更多...</a></FooterStyle>
行 79:
</asp:BoundColumn>
行 80:
</Columns>
2。在IIS中虚拟目录直接指向../web1/index.aspx,
3。
4。.<script>window.opener=null;window.close();</script>
3。在Footer内部 Response.Write("<a href />
试试看
{
if(e.Item.ItemType == ListItemType.Footer)
e.Item.Cells[0].Text = "<a href='http://dotnet.aspx.cc/'>ok</a>";
}
public static void ExecuteBlock(System.Web.UI.Page page,string script)
{
string strScript;
string strKey;
int i;
//脚本块的内容
strScript="<script language=javascript>\n";
strScript+=" "+script+";";
strScript+="</script>";
//注册脚本块的Key
strKey=System.DateTime.Now.ToString();
//循环,直至找到某个没被注册过的Key
for (i=0;i<10000;i++)
if (!page.IsClientScriptBlockRegistered(strKey+i.ToString()))
break;
page.RegisterClientScriptBlock(strKey+i.ToString(),strScript);
}然名在如下调用即可:
ExecuteBlock("window.close()")
2.控制面板-〉管理工具-〉Internet 服务管理器-〉默认web服务器-〉右键属性-〉文档-〉添加index.aspx
3.在DataBound事件中判断是否是页脚项如果是则为其添加链接
4.<script>window.opener=null;window.close();</script>
2.把你的iis站点目录设成http://123.456.7.89/web1/就可以。
3.孟子大哥已回答,没有错.
4.<A class="stxt" href="javascript:window.close();">关 闭</A>
if(e.Item.ItemType==ListItemType.Footer)
{
e.Item.Cells[1].Text="<a href='sorting.aspx?id=0'>更多...</a>";
}
然后在新网页中用Request["id"].ToString()就能获得"0"