<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BigSearch.aspx.cs" Inherits="Manager_BigSearch" %><!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>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
   <table cellSpacing="0" cellPadding="0" border="0" width="95%" align="center">
<tr>
<td align="left" style="font-weight: bolder; font-size: 14px; height: 28px;" background="Images/右侧总标头.jpg">
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;教师档案搜索
</td>
</tr>
<tr>
<td style="height: 38px">
                        <asp:Label ID="labHint" runat="server" Text="请选择您要搜索的条件:" Font-Bold="True" Font-Size="Small"></asp:Label></td>
</tr>
</table>
           <table cellSpacing="1" cellPadding="1" border="0" height="150" width="95%" align="center" id ="tabSearchConditon" runat =server >
               <tr>
                   <td rowspan="1">
                       条件1</td>
                   <td>
                       条件2</td>
                   <td>
                       条件3</td>
                   <td rowspan="1" colspan="2">
                   </td>
               </tr>
            <tr>
                <td rowspan="3">
                    <asp:DropDownList ID="ddlArea" runat="server"> 
                    </asp:DropDownList></td>
                <td>
                    <asp:RadioButton ID="rdbJY" runat="server" Text="教学研究" AutoPostBack="True" OnCheckedChanged="rdbJY_CheckedChanged" /></td>
                <td >
                    <asp:DropDownList ID="ddlJY" runat="server" AutoPostBack="True">
                        <asp:ListItem Selected="True" Value="1">在研课题</asp:ListItem>
                        <asp:ListItem Value="2">发表论文</asp:ListItem>
                        <asp:ListItem Value="3">发表论著</asp:ListItem>
                        <asp:ListItem Value="4">获奖情况</asp:ListItem>
                    </asp:DropDownList></td>
                <td rowspan="3">
                    关键字:<asp:TextBox ID="txtKey" runat="server"></asp:TextBox></td>
                <td rowspan="3">
                    <asp:Button ID="btnSearch" runat="server" Text="搜索" OnClick="btnSearch_Click" /></td>
            </tr>
            <tr>
                <td>
                    <asp:RadioButton ID="rdbKY" runat="server" Text="科学研究" AutoPostBack="True" OnCheckedChanged="rdbKY_CheckedChanged" /></td>
                <td >
                    <asp:DropDownList ID="ddlKY" runat="server" AutoPostBack="True">
                        <asp:ListItem Selected="True" Value="1">在研课题</asp:ListItem>
                        <asp:ListItem Value="2">发表论文</asp:ListItem>
                        <asp:ListItem Value="3">发表论著</asp:ListItem>
                        <asp:ListItem Value="4">获奖情况</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td>
                    <asp:RadioButton ID="rdbTS" runat="server" Text="教师查询" AutoPostBack="True" OnCheckedChanged="rdbTS_CheckedChanged" /></td>
                <td>
                    <asp:DropDownList ID="ddlTS" runat="server" AutoPostBack="True">
                        <asp:ListItem Selected="True" Value="1">教授</asp:ListItem>
                        <asp:ListItem Value="2">副教授</asp:ListItem>
                        <asp:ListItem Value="3">博士学位</asp:ListItem>
                        <asp:ListItem Value="4">硕士学位</asp:ListItem>
                        <asp:ListItem Value="5">学士学位</asp:ListItem>
                        <asp:ListItem Value="6">大专学位</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
        </table>
        <table  cellSpacing="0" cellPadding="0" border="0" width="95%" align="center" id="tabHind" runat =server >
        <tr>
        <td style="font-size: smaller">
            &nbsp;您选择的搜索对象是:<u><asp:Label ID="labFCondition" runat="server"></asp:Label></u> 的<u><asp:Label ID="labSCondition" runat="server" ></asp:Label></u>
            中的<u><asp:Label ID="labTCondition" runat="server"></asp:Label></u> 。关键字为:<u><asp:Label ID="labKey" runat="server"></asp:Label></u>
            。
            <asp:LinkButton ID="lnkbtnSearch" runat="server" Text ="重新搜索" OnClick="lnkbtnSearch_Click"></asp:LinkButton></td>
        </tr>
        </table>
<table width="95%" border="0" cellpadding="3" cellspacing="1"  align="center" ID="tabJYZYKT" runat =server >
<tr>
<td align =center >
                <asp:GridView ID="gvJYZYKTList" runat="server" AutoGenerateColumns="False" CellPadding="4"
                    ForeColor="#A6A1E0" GridLines="None" Height="100%" Width="100%" AllowPaging="True" Font-Size="Small" PageSize="5" DataKeyNames ="id">
                    <FooterStyle BackColor="#A6A1E0" Font-Bold="True"  />
                    <Columns>
                        <asp:HyperLinkField DataNavigateUrlFields="owner" DataTextField ="userid" HeaderText ="姓名" DataNavigateUrlFormatString="~/PersonRecord/MyProfile.aspx?id={0}" />
                        <asp:BoundField DataField="name" HeaderText="课题名称" />
                        <asp:BoundField DataField="startendTime" HeaderText="起止年月" />
                        <asp:BoundField DataField="unit" HeaderText="金费" />
                        <asp:BoundField DataField="Froming" HeaderText="项目来源" />
                        <asp:BoundField DataField="author" HeaderText="主持人" />
                        <asp:BoundField DataField="worker" HeaderText="合作人" />
                        <asp:BoundField DataField="yearInfo" HeaderText="年度" />
                        <asp:BoundField DataField="adder" HeaderText="添加人" />
                        <asp:BoundField DataField="changer" HeaderText="修改人" />
                    </Columns>
                     <RowStyle BackColor="#E8E7F9" ForeColor="#333333" />
                    <EditRowStyle BackColor="#E8E7F9" />
                    <SelectedRowStyle BackColor="#E8E7F9" Font-Bold="True" ForeColor="#333333" />
                    <PagerStyle BackColor="#A6A1E0" ForeColor="White" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                </asp:GridView>
</td>
</tr>

解决方案 »

  1.   

    </table>
    <table width="95%" border="0" cellpadding="3" cellspacing="1"  align="center" ID="tabJYFBLW" runat =server >
    <tr style="BACKGROUND-IMAGE: url('Images/title1.gif');">
    <td align =center >
                    <asp:GridView ID="gvJYFBLWList" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="None" Height="100%" Width="100%" AllowPaging="True" Font-Size="Small" PageSize="5" DataKeyNames =id>
                        <FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <Columns>
                             <asp:HyperLinkField DataNavigateUrlFields="owner" DataTextField ="userid" HeaderText ="姓名" DataNavigateUrlFormatString="~/PersonRecord/MyProfile.aspx?id={0}" />
                            <asp:BoundField DataField="name" HeaderText="论文题目" />
                            <asp:BoundField DataField="lessonName" HeaderText="发表刊物" />
                            <asp:BoundField DataField="author" HeaderText="第一作者" />
                            <asp:BoundField DataField="worker" HeaderText="合作者" />
                            <asp:BoundField DataField="Froming" HeaderText="年.卷.期.页码" />
                            <asp:BoundField DataField="yearInfo" HeaderText="年度" />
                            <asp:BoundField DataField="adder" HeaderText="添加人" />
                            <asp:BoundField DataField="changer" HeaderText="修改人" />
                        </Columns>
                         <RowStyle BackColor="#E8E7F9" ForeColor="#333333" />
                        <EditRowStyle BackColor="#E8E7F9" />
                        <SelectedRowStyle BackColor="#E8E7F9" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#A6A1E0" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    </asp:GridView>
    </td>
    </tr>
    </table>
    <table width="95%" border="0" cellpadding="3" cellspacing="1"  align="center" ID="tabJYFBLZ" runat =server >
    <tr>
    <td align =center >
                    <asp:GridView ID="gvJYFBLZList" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="None" Height="100%" Width="100%" AllowPaging="True" Font-Size="Small" PageSize="5" DataKeyNames =id>
                        <FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:HyperLinkField DataNavigateUrlFields="owner" DataTextField ="userid" HeaderText ="姓名" DataNavigateUrlFormatString="~/PersonRecord/MyProfile.aspx?id={0}" />
                            <asp:BoundField DataField="name" HeaderText="论著名称" />
                            <asp:BoundField DataField="lessonName" HeaderText="出版社" />
                            <asp:BoundField DataField="author" HeaderText="主编" />
                            <asp:BoundField DataField="worker" HeaderText="合作者" />
                            <asp:BoundField DataField="startendTime" HeaderText="发表时间" />
                            <asp:BoundField DataField="Froming" HeaderText="备注" />
                            <asp:BoundField DataField="yearinfo" HeaderText="年度" />
                            <asp:BoundField DataField="adder" HeaderText="添加人" />
                            <asp:BoundField DataField="changer" HeaderText="修改人" />
                        </Columns>
                         <RowStyle BackColor="#E8E7F9" ForeColor="#333333" />
                        <EditRowStyle BackColor="#E8E7F9" />
                        <SelectedRowStyle BackColor="#E8E7F9" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#A6A1E0" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    </asp:GridView>
    </td>
    </tr>
    </table>
    <table width="95%" border="0" cellpadding="3" cellspacing="1"  align="center" ID="tabJYHJQK" runat ="server" >
    <tr>
    <td align =center >
                    <asp:GridView ID="gvJYHJQKList" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="None" Height="100%" Width="100%" AllowPaging="True" Font-Size="Small" PageSize="5" DataKeyNames =id>
                        <FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:HyperLinkField DataNavigateUrlFields="owner" DataTextField ="userid" HeaderText ="姓名" DataNavigateUrlFormatString="~/PersonRecord/MyProfile.aspx?id={0}" />
                            <asp:BoundField DataField="name" HeaderText="获奖名称" />
                            <asp:BoundField DataField="lessonName" HeaderText="获奖项目名称" />
                            <asp:BoundField DataField="author" HeaderText="主持人" />
                            <asp:BoundField DataField="worker" HeaderText="合作者" />
                            <asp:BoundField DataField="startendTime" HeaderText="时间" />
                            <asp:BoundField DataField="unit" HeaderText="授予单位" />
                            <asp:BoundField DataField="Froming" HeaderText="备注" />
                            <asp:BoundField DataField="yearinfo" HeaderText="年度" />
                            <asp:BoundField DataField="adder" HeaderText="添加人" />
                            <asp:BoundField DataField="changer" HeaderText="修改人" />
                        </Columns>
                         <RowStyle BackColor="#E8E7F9" ForeColor="#333333" />
                        <EditRowStyle BackColor="#E8E7F9" />
                        <SelectedRowStyle BackColor="#E8E7F9" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#A6A1E0" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    </asp:GridView>
    </td>
    </tr>
    </table>
              
    <table width="95%" border="0" cellpadding="3" cellspacing="1"  align="center" ID="tabKYFBLW" runat =server>
    <tr>
    <td align =center >
                    <asp:GridView ID="gvKYFBLWList" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="None" Height="100%" Width="100%" AllowPaging="True" Font-Size="Small" PageSize="5" DataKeyNames =id>
                        <FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:HyperLinkField DataNavigateUrlFields="owner" DataTextField ="userid" HeaderText ="姓名" DataNavigateUrlFormatString="~/PersonRecord/MyProfile.aspx?id={0}" />
                            <asp:BoundField DataField="name" HeaderText="论文题目" />
                            <asp:BoundField DataField="lessonName" HeaderText="发表刊物" />
                            <asp:BoundField DataField="author" HeaderText="第一作者" />
                            <asp:BoundField DataField="worker" HeaderText="合作者" />
                            <asp:BoundField DataField="Froming" HeaderText="年.卷.期.页码" />
                            <asp:BoundField DataField="yearInfo" HeaderText="年度" />
                            <asp:BoundField DataField="adder" HeaderText="添加人" />
                            <asp:BoundField DataField="changer" HeaderText="修改人" />
      

  2.   

    </Columns>
                        <RowStyle BackColor="#E8E7F9" ForeColor="#333333" />
                        <EditRowStyle BackColor="#E8E7F9" />
                        <SelectedRowStyle BackColor="#E8E7F9" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#A6A1E0" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    </asp:GridView>
    </td>
    </tr>
    </table>
    <table width="95%" border="0" cellpadding="3" cellspacing="1"  align="center" ID="tabKYFBLZ" runat =server>
    <tr>
    <td align =center >
                    <asp:GridView ID="gvKYFBLZList" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="None" Height="100%" Width="100%" AllowPaging="True" Font-Size="Small" PageSize="5" DataKeyNames =id>
                        <FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <Columns>
                          <asp:HyperLinkField DataNavigateUrlFields="owner" DataTextField ="userid" HeaderText ="姓名" DataNavigateUrlFormatString="~/PersonRecord/MyProfile.aspx?id={0}" />
                            <asp:BoundField DataField="name" HeaderText="论著名称" />
                            <asp:BoundField DataField="lessonName" HeaderText="出版社" />
                            <asp:BoundField DataField="author" HeaderText="主编" />
                            <asp:BoundField DataField="worker" HeaderText="合作者" />
                            <asp:BoundField DataField="startendTime" HeaderText="出版时间" />
                            <asp:BoundField DataField="Froming" HeaderText="备注" />
                            <asp:BoundField DataField="yearinfo" HeaderText="年度" />
                            <asp:BoundField DataField="adder" HeaderText="添加人" />
                            <asp:BoundField DataField="changer" HeaderText="修改人" />
                        </Columns>
                        <RowStyle BackColor="#E8E7F9" ForeColor="#333333" />
                        <EditRowStyle BackColor="#E8E7F9" />
                        <SelectedRowStyle BackColor="#E8E7F9" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#A6A1E0" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    </asp:GridView>
    </td>
    </tr>
    </table>
    <table width="95%" border="0" cellpadding="3" cellspacing="1"  align="center" ID="tabKYHJQK" runat =server >
    <tr>
    <td align =center >
                    <asp:GridView ID="gvKYHJQKList" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="None" Height="100%" Width="100%" AllowPaging="True" Font-Size="Small" PageSize="5" DataKeyNames ="id">
                        <FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:HyperLinkField DataNavigateUrlFields="owner" DataTextField ="userid" HeaderText ="姓名" DataNavigateUrlFormatString="~/PersonRecord/MyProfile.aspx?id={0}" />
                            <asp:BoundField DataField="name" HeaderText="获奖名称" />
                            <asp:BoundField DataField="lessonName" HeaderText="获奖项目名称" />
                            <asp:BoundField DataField="author" HeaderText="主持人" />
                            <asp:BoundField DataField="worker" HeaderText="合作者" />
                            <asp:BoundField DataField="startendTime" HeaderText="时间" />
                            <asp:BoundField DataField="unit" HeaderText="授予单位" />
                            <asp:BoundField DataField="Froming" HeaderText="备注" />
                            <asp:BoundField DataField="yearinfo" HeaderText="年度" />
                            <asp:BoundField DataField="adder" HeaderText="添加人" />
                            <asp:BoundField DataField="changer" HeaderText="修改人" />                    </Columns>
                       <RowStyle BackColor="#E8E7F9" ForeColor="#333333" />
                        <EditRowStyle BackColor="#E8E7F9" />
                        <SelectedRowStyle BackColor="#E8E7F9" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#A6A1E0" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    </asp:GridView>
    </td>
    </tr>

    </table>
     <table width="95%" border="0" cellpadding="3" cellspacing="1"  align="center" id="tabKYZYKT" runat ="server" >
                <tr>
                    <td>
                    <asp:GridView ID="gvKYZYKTList" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="None" Height="100%" Width="100%" AllowPaging="True" Font-Size="Small" PageSize="5" DataKeyNames ="id">
                        <FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <Columns> 
                            <asp:HyperLinkField DataNavigateUrlFields="owner" DataTextField ="userid" HeaderText ="姓名" DataNavigateUrlFormatString="~/PersonRecord/MyProfile.aspx?id={0}" />
                            <asp:BoundField DataField="name" HeaderText="项目名称" />
                            <asp:BoundField DataField="startendTime" HeaderText="起止年月" />
                            <asp:BoundField DataField="unit" HeaderText="资助金额" />
                            <asp:BoundField DataField="Froming" HeaderText="项目来源" />
                            <asp:BoundField DataField="author" HeaderText="主持人" />
                            <asp:BoundField DataField="worker" HeaderText="合作人" />
                            <asp:BoundField DataField="yearInfo" HeaderText="年度" />
                            <asp:BoundField DataField="adder" HeaderText="添加人" />
                            <asp:BoundField DataField="changer" HeaderText="修改人" />
                        </Columns>
                         <RowStyle BackColor="#E8E7F9" ForeColor="#333333" />
                        <EditRowStyle BackColor="#E8E7F9" />
                        <SelectedRowStyle BackColor="#E8E7F9" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#A6A1E0" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    </asp:GridView>
                    </td>
                </tr>
            </table>
    <table width="95%" border="0" cellpadding="3" cellspacing="1"  align="center" ID="tabTS" runat =server >
    <tr>
    <td align =center >
                    <asp:GridView ID="gvTSList" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="None" Height="100%" Width="100%" AllowPaging="True" Font-Size="Small" PageSize="5" DataKeyNames =id>
                        <FooterStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:HyperLinkField DataNavigateUrlFields="owner" DataTextField ="userid" HeaderText ="姓名" DataNavigateUrlFormatString="~/PersonRecord/MyProfile.aspx?id={0}" />
                            <asp:BoundField DataField="startendTime" HeaderText="起止年月" />
                            <asp:BoundField DataField="degree" HeaderText="获得学位" />
                            <asp:BoundField DataField="workPlace" HeaderText="工作单位" />
                            <asp:BoundField DataField="working" HeaderText="职务" />
                        </Columns>
                       <RowStyle BackColor="#E8E7F9" ForeColor="#333333" />
                        <EditRowStyle BackColor="#E8E7F9" />
                        <SelectedRowStyle BackColor="#E8E7F9" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#A6A1E0" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#A6A1E0" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    </asp:GridView>
    </td>
    </tr>

    </table>
    <table width="95%" border="0" cellpadding="3" cellspacing="1"  align="center">
                 <tr>
                    <td>
                      <font color="#666666" style="font-size: smaller">
    当前系统处于<u><asp:Label ID="labSystem" runat="server" Text="Label"></asp:Label></u>
    状态<br>
    条件查询处于<u><asp:Label ID="labSearch" runat="server" Text="Label"></asp:Label></u>
    状态</font>
      </td>
      </tr>
    </table>
        </form>
    </body>
    </html>
      

  3.   

    显示错误
    Server Error in '/jsda' Application.
    --------------------------------------------------------------------------------Runtime Error 
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
    <!-- Web.Config Configuration File --><configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>
     Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
    <!-- Web.Config Configuration File --><configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>
     
      

  4.   

    显示错误
    Server Error in '/jsda' Application.
    --------------------------------------------------------------------------------Runtime Error  
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.  Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
    <!-- Web.Config Configuration File --><configuration>
      <system.web>
      <customErrors mode="Off"/>
      </system.web>
    </configuration>
    把错误显示出来,你这样说明都看不出的。