<span id="AccountInfos" runat="server" style="margin-left:10px">各账号信息如下:</span>
<br />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
CellPadding="4" ForeColor="#333333" GridLines="None" AllowPaging="True"
onpageindexchanging="GridView1_PageIndexChanging">
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:BoundField HeaderText="序号" />
<asp:BoundField HeaderText="用户账号" DataField="UserID" />
<asp:BoundField HeaderText="用户姓名" DataField="UserName" />
<asp:BoundField HeaderText="用户密码" DataField="UserPwd" />
<asp:BoundField HeaderText="用户性别" DataField="UserSex" />
<asp:BoundField HeaderText="所属部门" DataField="UserDep" />
<asp:BoundField HeaderText="启用时间" DataField="GatingTime" />
<asp:BoundField HeaderText="用户角色" DataField="UserRole"/>
<asp:BoundField DataField="Note" HeaderText="账号状态" />
<asp:BoundField DataField="CueInfo" HeaderText="提示" />
</Columns>
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F5F7FB" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
</asp:GridView>
<br />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
CellPadding="4" ForeColor="#333333" GridLines="None" AllowPaging="True"
onpageindexchanging="GridView1_PageIndexChanging">
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:BoundField HeaderText="序号" />
<asp:BoundField HeaderText="用户账号" DataField="UserID" />
<asp:BoundField HeaderText="用户姓名" DataField="UserName" />
<asp:BoundField HeaderText="用户密码" DataField="UserPwd" />
<asp:BoundField HeaderText="用户性别" DataField="UserSex" />
<asp:BoundField HeaderText="所属部门" DataField="UserDep" />
<asp:BoundField HeaderText="启用时间" DataField="GatingTime" />
<asp:BoundField HeaderText="用户角色" DataField="UserRole"/>
<asp:BoundField DataField="Note" HeaderText="账号状态" />
<asp:BoundField DataField="CueInfo" HeaderText="提示" />
</Columns>
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F5F7FB" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
</asp:GridView>
解决方案 »
- 急,急,基于silverlight的导入谁会呀(不要用C#,因为.xaml里没有所要的命名空间)
- 急 取值 取不到用户ID
- 第 1 行: '=' 附近有语法错误。哪出错了?
- 求救,网站的配置文件怎么运用?
- ASP.net显示下一页时异步更新
- [100分],为什么一加上Path属性,就不能生成Cookie呢??在线,对了,200分。
- 一个比较难办的问题..关于两个文本框比较时间大小的查询问题,期待高手的答复!!!
- asp.net下,如何使用jmail?(我是虚拟主机用户)
- 使用dll的aspx文件运行出错怎么办?100大洋来者有分,救命呀~
- 关于登录验证的问题
- 小妹求大侠给个好用的.NET C# 写的OA系统呀
- 网站配置好了但是不能访问
看看这该死的服务器控件最终生成的html是什么吧
<tr>GridView</tr> 这样分开.我不相信这样GridView还能把span干死