日期:2014-05-19  浏览次数:20394 次

System.Web.UI.Page”并不包含“DataItem”的定义
aspx:
<%@   Page   Language= "C# "   AutoEventWireup= "true "   CodeFile= "edit_admin_datum.aspx.cs "   Inherits= "admin_admin_edit_admin_datum "   %>
<%@   Import   Namespace= "System.Data "%>


<!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> 管理员资料修改-YY3721 </title>
          <link   href= "../style/sys_edit_admin.css "   rel= "stylesheet "   type= "text/css "/>
</head>
<body   bgcolor= "#9CC7EF ">
        <form   id= "form1 "   runat= "server "   action= "edit_admin_datum.aspx ">
                       
     
                <table   width= "70% "   border= "1 "   align= "center "   cellpadding= "0 "   cellspacing= "0 ">
    <tr   align= "center ">  
        <td     height= "40 "   colspan= "2 ">   <span   class= "add_manage_title ">   修改管理员   <span   class= "edit_admin_title ">  
   
    <%#   DataBinder.Eval(Container.DataItem,   "Admin_name ")%>
   
   
        </span>   资料 </span> </td>
    </tr>
    <tr   align= "center ">
        <td     height= "30 "   style= "width:   441px "   align= "right "> 帐号: </td>
        <td   width= "474 "     height= "30 "   colspan= "-1 "   align= "left ">
                <input   id= "Text1 "   type= "text "   value= "   <%#   DataBinder.Eval(Container.DataItem,   "Admin_name ")%> "   /> &nbsp; </td>
    </tr>
    <tr   align= "center ">
        <td     height= "30 "   style= "width:   441px "   align= "right ">
                密码: </td>
        <td     height= "30 "   colspan= "-1 "   align= "left ">
                <input   id= "Text2 "   type= "text "   value= "   <%#   DataBinder.Eval(Container.DataItem,   "Admin_name ")%> "   /> &nbsp; </td>
    </tr>
    <tr   align= "center ">
&