3层分类的关系,用datagrid来显示,这是非常简单的事情.现在在每一个datagrid上增加一个checkbox,用来控制自身分类下的checkbox
/////////////////////////////////////////////////////////////////////////////////////// 【程序编程相关:C#获取硬盘序列号】
代码贴出来,怕以后忘记 【推荐阅读:C#公共类收集】
/////////////////////////////////////////////////////////////////////////////////////// 【扩展信息:C#可定制的数据库备份和恢复程序】//添加相关产品分类的页面using system;using system.collections;using system.componentmodel;using system.data;using system.drawing;using system.web;using system.web.sessionstate;using system.web.ui;using system.web.ui.webcontrols;using system.web.ui.htmlcontrols;using lubebll;using lubebll.category;using lubedal;namespace manage
{?/// ?/// newsproductcategory 的摘要说明.?/// ?public class newsproductcategory : system.web.ui.page?{??#region web 窗体设计器生成的代码??protected system.web.ui.webcontrols.label lbnewstitle;??protected system.web.ui.webcontrols.linkbutton btsave;??protected system.web.ui.webcontrols.datagrid dgfirstlevel;??protected system.web.ui.webcontrols.datagrid dgthirdlevel;??protected system.web.ui.webcontrols.customvalidator validrecordstatus;??protected system.web.ui.webcontrols.linkbutton btbackpreview;??override protected void oninit(eventargs e)??{???//???// codegen: 该调用是 asp.net web 窗体设计器所必需的.???//???initializecomponent();???base.oninit(e);??}????/// ??/// 设计器支持所需的方法 - 不要使用代码编辑器修改??/// 此方法的内容.... 下一页