未能在"设计"视图中打开.在"<% ..."值"..%>"块中,以不同方式将值括起来!
用dreamweaver设计的页面拿到VS.NET 2003 中就出现这样的作物~
<%@ Page Language= "C# " ContentType= "text/html " ResponseEncoding= "gb2312 " %>
<%@ Register TagPrefix= "MM " Namespace= "DreamweaverCtrls " Assembly= "DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral " %>
<MM:DataSet
id= "ZpData "
runat= "Server "
IsStoredProcedure= "false "
ConnectionString= ' <%# System.Configuration.ConfigurationSettings.AppSettings[ "MM_CONNECTION_STRING_information "] %> '
DatabaseType= ' <%# System.Configuration.ConfigurationSettings.AppSettings[ "MM_CONNECTION_DATABASETYPE_information "] %> '
CommandText= ' <%# "SELECT zp_ID, zp_name, zp_lb, zp_jx, zp_sjdw, zp_sjry FROM dbo.Zp_infor ORDER BY zp_name ASC " %> '
Debug= "true " PageSize= "4 " CurrentPage= ' <%# ((Request.QueryString[ "ZpData_CurrentPage "] != null) && (Request.QueryString[ "ZpData_CurrentPage "].Length > 0)) ? Int32.Parse(Request.QueryString[ "ZpData_CurrentPage "]) : 0 %> '
> </MM:DataSet>
<MM:PageBind runat= "server " PostBackBind= "true " />
<!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>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 " />
<title> 无标题文档 </title>
<style type= "text/css ">
<!--
.STYLE3 {
font-size: xx-large;
font-weight: bold;
}
-->
</style>
<script type= "text/JavaScript ">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body>
<table width= "600 " height= "320 " border= "0 " cellpadding= "0 " cellspacing= "0 ">
<tr>
<td> <span class= "STYLE3 "> 设计作品展示: </span> </td>
</tr>
<tr>
<td height= "174 "> <form runat= "server ">
<asp:DataList id= "ZpDataList "
runat= "server "
RepeatColumns= "1 "
RepeatDirection= "Vertical "
RepeatLayout= "Table "
DataSource= ' <%# ZpData.DefaultView %> ' >
<ItemTemplate>