怎么没有人帮我呢
编译错误
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。
编译器错误信息: CS1040: 预处理器指令必须作为一行的第一个非空白字符出现
源错误:
行 39: <tr >
行 40: <td align="center"><img src="/images/point.gif" width="4" height="5"></td>
行 41: <td height="22"><%# DataBinder.Eval(Container.DataItem, "subject")%></td>
行 42: </tr>
行 43: </ItemTemplate><FooterTemplate>
源文件: E:\changsanjiao\news\Changsanjiao.aspx 行: 41
<%@Page Language="c#"%>
<%@Import Namespace="System.Data"%>
<%@Import Namespace="System.Data.SqlClient"%>
<%
string strConnection="Password=icncn1218;User ID=sa;Initial Catalog=icncn;Data Source=localhost;";
SqlConnection myConnection=new SqlConnection(strConnection);
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="590" valign="top">
<table width="560" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="25">
<script language="C#" runat="server">
<%
ShowSubject(string types,int newsid)
{
SqlDataAdapter myCommand = new SqlDataAdapter("select top 10 id,subject from changnews where newsid='"+newsid+"'order by id desc", myConnection);
DataSet ds = new DataSet();
myCommand.Fill(ds, "changnews");
MyRepeater.DataSource = ds.Tables["changnews"].DefaultView;
MyRepeater.DataBind();
%>
<ASP:Repeater id="MyRepeater" runat="server">
<HeaderTemplate>
<table width="100%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="25" bgcolor="#FFC20E" colspan="2"> <strong><font color="#004684"></font></strong></td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr >
<td align="center"><img src="/images/point.gif" width="4" height="5"></td>
//这行错了
<td height="22"><%# DataBinder.Eval(Container.DataItem, "subject")%></td>
</tr>
</ItemTemplate><FooterTemplate>
</table>
</FooterTemplate>
</ASP:Repeater>
<%
}
%>
</script>
</td>
</tr>
</table>
</td>
<td width="170" bgcolor="#004684"></td>
</tr>
</table>
</body>
</html>