当前位置:编程学习 > C#/ASP.NET >>

如何吧这个下载回来的系统,修改它的信息,比如深圳某学校试用版 修改 **某学校

如何吧这个下载回来的系统,修改它的信息,比如深圳某学校试用版 修改 **某学校


<%@ Page language="c#" Codebehind="index.aspx.cs" AutoEventWireup="false" Inherits="elib3.index" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>数字图书馆</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="css/sys.css" type="text/css" rel="stylesheet">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() 
{ //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; 
for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() 
{ //v3.0
var i,x,a=document.MM_sr; 
for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) 
x.src=x.oSrc;
}

function MM_findObj(n, d) 
{ //v4.01
var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() 
{ //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null)
{
document.MM_sr[j++]=x; 
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM(o,srcf)
{
o.src =srcf;
}
//-->
</script>
</HEAD>
<body bgColor="#ffffff" leftMargin="0" topMargin="0" scroll="no" onload="MM_preloadImages('images/zi_01_an.gif','images/zi_19_an.gif')"
marginheight="0" marginwidth="0">
<form id="Form1" method="post" runat="server">
<!-- ImageReady Slices (logo.psd) -->
<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td width="1"> </td>
<td>
<table id="__01" cellSpacing="0" cellPadding="0" width="758" align="center" border="0">
<tr>
<td><IMG height="170" alt="" src="images/logo_01.gif" width="158"></td>
<td><IMG height="170" alt="" src="images/logo_02.gif" width="342"></td>
<td vAlign="bottom" width="258" background="images/logo_03.gif" height="170">
<table cellSpacing="0" cellPadding="0" width="186" align="center" border="0">
<tr>
<td width="25">
<div align="center"></div>
</td>
<td width="219"><IMG height="47" alt="" src="images/zi_06.gif" width="158"></td>
<td width="28"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td><IMG height="195" alt="" src="images/logo_04.gif" width="158"></td>
<td><IMG height="195" alt="" src="images/logo_05.gif" width="342"></td>
<td width="258" background="images/logo_06.gif">
<table cellSpacing="0" cellPadding="0" width="186" align="center" border="0">
<tr>
<td>
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td align="center" colSpan="2" height="29"> 
<asp:radiobuttonlist id="RadioButtonList1" runat="server" RepeatColumns="2" Width="139px" BorderStyle="None"
BorderWidth="0px" CellSpacing="0" CellPadding="0">
<asp:ListItem Value="读者" Selected="True">读者</asp:ListItem>
<asp:ListItem Value="管理员">管理员</asp:ListItem>
</asp:radiobuttonlist></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="186" align="center" border="0">
<tr>
<td height="8"><FONT face="宋体"></FONT></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="186" align="center" border="0">
<tr>
<td width="59" height="29">用户名:</td>
<td style="WIDTH: 113px" width="113"><asp:textbox id="TBUser" runat="server" Width="80px"></asp:textbox></td>
</tr>
<tr>
<td height="29">密   码:</td>
<td style="WIDTH: 113px"><asp:textbox id="TBPW" runat="server" Width="80px" TextMode="Password"></asp:textbox></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="186" align="center" border="0">
<tr>
<td height="8"></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="186" align="center" border="0">
<tr>
<td width="78" height="30"><asp:imagebutton id="ImageButton2" onmouseover="MM(this,'images/zi_01_an.gif');" onmouseout="MM(this,'images/zi_01.gif');"
runat="server" ImageUrl="images/zi_01.gif" BorderStyle="None"></asp:imagebutton></td>
<td width="108"><FONT face="宋体"></FONT><asp:imagebutton id="ImageButton1" onmouseover="MM(this,'images/zi_19_an.gif')" onmouseout="MM(this,'images/zi_19.gif');"
runat="server" ImageUrl="images/zi_19.gif" BorderStyle="None"></asp:imagebutton></td>
</tr>
<tr>
<td height="30"><FONT face="宋体"></FONT><FONT face="宋体"></FONT><A onmouseover="MM_swapImage('Image16','','images/zi_18_an.gif',1)" onmouseout="MM_swapImgRestore()"
href="#"></A></td>
<td><A onmouseover="MM_swapImage('Image17','','images/zi_19_an.gif',1)" onmouseout="MM_swapImgRestore()"
href="#"></A> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td><IMG height="51" alt="" src="images/logo_07.gif" width="158"></td>
<td><IMG height="51" alt="" src="images/logo_08.gif" width="342"></td>
<td><IMG height="51" alt="" src="images/logo_09.gif" width="258"></td>
</tr>
<tr>
<td></td>
<td>
<asp:Label id="Label1" runat="server" ForeColor="#000040"></asp:Label></td>
<td></td>
</tr>
</table>
</td>
<td width="1"> </td>
</tr>
</table>
</form>
</body>
</HTML>
--------------------编程问答-------------------- 好好查查,也许是从配置文件中读取的 --------------------编程问答-------------------- 或者根据条件,用代码生成的 --------------------编程问答-------------------- 搜索指定文字替换 --------------------编程问答-------------------- <asp:Label id="Label1" runat="server" ForeColor="#000040"></asp:Label>

估计是这个用来显示提示信息的

到后台cs文件中
找找看,是不是有类似
this.Label1.Text = "使用单位:深圳某学校试用版";这样的,没有的话,那就看这个Label1的Text属性是如何赋值的。 --------------------编程问答-------------------- 深圳某学校试用版

4AA666F930B95F0FE873322C2211229F3B5559D207C1DF0DC7FEC71615D89E03 --------------------编程问答-------------------- ctrl + F !!! --------------------编程问答-------------------- <td>
<asp:Label id="Label1" runat="server" ForeColor="#000040"></asp:Label></td>

这句对应的是深圳某** 学校
--------------------编程问答-------------------- 网页文件不能改,数据库有个这样的表

深圳某学校试用版

4AA666F930B95F0FE873322C2211229F3B5559D207C1DF0DC7FEC71615D89E03
--------------------编程问答-------------------- 或者把 
使用单位:深圳某学校试用版

都删除
--------------------编程问答-------------------- 把显示这行文字的标签删除 或者 设置为隐藏 --------------------编程问答-------------------- 传说 有个叫F11的东西 --------------------编程问答-------------------- [img=http://www.swlhzx.com/sztsg/11.htm][/img] --------------------编程问答-------------------- 呵呵,还是要看里面的CS代码 才行啊。 --------------------编程问答-------------------- http://www.swlhzx.com/sztsg/11.htm --------------------编程问答-------------------- 把页面中显示名称的label hidden
再加个新label --------------------编程问答-------------------- --------------------编程问答-------------------- 盗版? --------------------编程问答-------------------- <FONT color=#f7f7f7><span style=color:#ffffff>

<asp:Label id="Label1" runat="server" ForeColor="#000040"></asp:Label></td>
</span></FONT> 
这样修改,都不行

<FONT color=#f7f7f7><span style=color:#ffffff>

<asp:Label id="Label1" runat="server" ForeColor="#000040"></asp:Label></td>
</span></FONT> 
--------------------编程问答-------------------- 用vs打开
然后选择再整个项目中搜索你要找的那个字符串
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,