温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:WO@BIZ第一季1.2版源码
当前文件:
WOBIZ/controls/GoodsType.ascx.cs[926B,2009-6-12 11:58:35],打开代码结构图
WOBIZ/controls/GoodsType.ascx.cs[926B,2009-6-12 11:58:35],打开代码结构图1using System; 2
using System.Data; 3
using System.Configuration; 4
using System.Collections; 5
using System.Web; 6
using System.Web.Security; 7
using System.Web.UI; 8
using System.Web.UI.WebControls; 9
using System.Web.UI.WebControls.WebParts; 10
using System.Web.UI.HtmlControls; 11
using WoNextDll.Handler; 12
13
14
public partial class controls_GoodsType : System.Web.UI.UserControl 15
{ 16
protected void Page_Load(object sender, EventArgs e) 17
{ 18
19
} 20
21
protected void DlGoodsType_ItemDataBound(object sender, DataListItemEventArgs e) 22
{ 23
if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) 24
{ 25
Label lb = (Label)e.Item.FindControl("labcount"); 26
int id = int.Parse(lb.Text); 27
Han_ProInfo han = new Han_ProInfo(); 28
int procount = han.GetProNum(id); 29
lb.Text = procount.ToString(); 30
} 31
} 32
} 33






}
}