解决方案 »
- 格式不对
- C# 字符串拆分问题,不一定有分隔符
- .Net资源站点www.wensky.cn
- 还是文件列表显示问题(渔翁的解答有问题)
- 最近想做.net+oracle数据库的开发,但我的.net找不到using System.data.OracleClient这个引用,是怎么回事呢?请指教
- 这段C#程序怎么不能编译成程序集啊!!!谁能告诉我啊,谢谢!!!
- 多线程同时操作DLL的不同函数时貌似会出错,请问如何让线程不同时操作DLL
- 绘图难题,请大家指教
- Datagridview与ListView的问题、希望解决
- 谁知道,C#调用Tuxedo,怎么处理中文字符的参数问题呢?Tuxedo那边接收的是乱码啊?
- GridView1_RowDeleting事件中,判断LinkButton的Text,执行相应的命令,该怎么写?
- 我想引用 webbrowser 类,而不是拖放控件
{
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
{
%>
<tbody id="shuju">
<tr >
<th style=" border:1px solid #d1d6d7" height="30"><%=((currtentpage - 1) * pagesize + i + 1)%></th>
<th style=" border:1px solid #d1d6d7" height="30" ><%=IsNull( ds.Tables[0].Rows[i]["user_id"].ToString())%></th>
<th style=" border:1px solid #d1d6d7" height="30"><%=IsNull(ds.Tables[0].Rows[i]["create_time"].ToString())%></th>
<th style=" border:1px solid #d1d6d7" height="30" ><%=IsNull(ds.Tables[0].Rows[i]["money"].ToString())%></th>
<th style=" border:1px solid #d1d6d7" height="30" ><%=IsNull(ds.Tables[0].Rows[i]["re"].ToString())%></th> </tr>
</tbody>
<%}
}
else {
%>
<tbody>
<tr>
<td colspan="12"><img style=" height:320px; width:100%" src="../../images/cus/clear.gif" /></td>
</tr>
</tbody>
<%
}%> 后台 public DataSet ds = new DataSet();
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using We7.CMS.WebControls;
using We7.CMS.WebControls.Core;
using We7.CMS.Accounts;
using We7.CMS.Common.PF;
using System.Collections.Generic;namespace We7.CMS.Web.Widgets
{
[ControlGroupDescription(Label = "本子列表", Icon = "本子列表", Description = "本子列表", DefaultType = "本子列表")]
[ControlDescription(Desc = "本子列表")] public partial class Bookmanage_List : BaseControl
{
IAccountHelper AccountHelper = AccountFactory.CreateInstance();
List<Book> booklists;
/// <summary>
/// 页面加载
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
booklists = AccountHelper.GetBookList(Security.CurrentAccountID);
Page.DataBind();
} }
}前台想要拿到这个booklists 用于显示
按照你的方法直接写 提示找不到